0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

OpenGL: Check for framebuffer completeness

This commit is contained in:
Jannik Vogel 2016-04-03 17:05:04 +02:00
parent 6d24c73ea9
commit 693cbc1f8f

View File

@ -808,6 +808,9 @@ void RasterizerOpenGL::SyncFramebuffer() {
ReloadDepthBuffer();
}
ASSERT_MSG(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE,
"OpenGL rasterizer framebuffer setup failed, status %X", glCheckFramebufferStatus(GL_FRAMEBUFFER));
}
void RasterizerOpenGL::SyncCullMode() {