summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-04-03 17:05:04 +0200
committerJannik Vogel <email@jannikvogel.de>2016-04-03 17:06:05 +0200
commit693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2 (patch)
treececb4e709ca6af428347be799fc3fd45451a8b7a
parentMerge pull request #1616 from exhalatio/dlp_dummy (diff)
downloadyuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar.gz
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar.bz2
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar.lz
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar.xz
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.tar.zst
yuzu-693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2.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() {