summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinkmauve <linkmauve@linkmauve.fr>2016-04-03 17:59:37 +0200
committerlinkmauve <linkmauve@linkmauve.fr>2016-04-03 17:59:37 +0200
commit610579384336f0fee184824195c3efbbcdbc805a (patch)
treececb4e709ca6af428347be799fc3fd45451a8b7a
parentMerge pull request #1616 from exhalatio/dlp_dummy (diff)
parentOpenGL: Check for framebuffer completeness (diff)
downloadyuzu-610579384336f0fee184824195c3efbbcdbc805a.tar
yuzu-610579384336f0fee184824195c3efbbcdbc805a.tar.gz
yuzu-610579384336f0fee184824195c3efbbcdbc805a.tar.bz2
yuzu-610579384336f0fee184824195c3efbbcdbc805a.tar.lz
yuzu-610579384336f0fee184824195c3efbbcdbc805a.tar.xz
yuzu-610579384336f0fee184824195c3efbbcdbc805a.tar.zst
yuzu-610579384336f0fee184824195c3efbbcdbc805a.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 1fadcf5ae..21ad9ee77 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -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() {