mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 22:55:27 +00:00
OpenGL: Check for framebuffer completeness
This commit is contained in:
parent
6d24c73ea9
commit
693cbc1f8f
|
@ -808,6 +808,9 @@ void RasterizerOpenGL::SyncFramebuffer() {
|
||||||
|
|
||||||
ReloadDepthBuffer();
|
ReloadDepthBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ASSERT_MSG(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE,
|
||||||
|
"OpenGL rasterizer framebuffer setup failed, status %X", glCheckFramebufferStatus(GL_FRAMEBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::SyncCullMode() {
|
void RasterizerOpenGL::SyncCullMode() {
|
||||||
|
|
Loading…
Reference in a new issue