2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #1638 from JayFoxRox/check-fb-complete

OpenGL: Check for framebuffer completeness
This commit is contained in:
linkmauve 2016-04-03 16:59:37 +01:00
commit 6105793843

View file

@ -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() {