mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 10:10:03 +00:00
OpenGL: Fix a double framebuffer completeness checks.
This commit is contained in:
parent
693cbc1f8f
commit
3219be8ee0
1 changed files with 6 additions and 4 deletions
|
@ -140,8 +140,9 @@ void RasterizerOpenGL::InitObjects() {
|
||||||
}
|
}
|
||||||
state.Apply();
|
state.Apply();
|
||||||
|
|
||||||
ASSERT_MSG(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE,
|
GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
||||||
"OpenGL rasterizer framebuffer setup failed, status %X", glCheckFramebufferStatus(GL_FRAMEBUFFER));
|
ASSERT_MSG(status == GL_FRAMEBUFFER_COMPLETE,
|
||||||
|
"OpenGL rasterizer framebuffer setup failed, status %X", status);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::Reset() {
|
void RasterizerOpenGL::Reset() {
|
||||||
|
@ -809,8 +810,9 @@ void RasterizerOpenGL::SyncFramebuffer() {
|
||||||
ReloadDepthBuffer();
|
ReloadDepthBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT_MSG(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE,
|
GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
||||||
"OpenGL rasterizer framebuffer setup failed, status %X", glCheckFramebufferStatus(GL_FRAMEBUFFER));
|
ASSERT_MSG(status == GL_FRAMEBUFFER_COMPLETE,
|
||||||
|
"OpenGL rasterizer framebuffer setup failed, status %X", status);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::SyncCullMode() {
|
void RasterizerOpenGL::SyncCullMode() {
|
||||||
|
|
Loading…
Reference in a new issue