diff options
author | linkmauve <linkmauve@linkmauve.fr> | 2016-04-03 17:59:37 +0200 |
---|---|---|
committer | linkmauve <linkmauve@linkmauve.fr> | 2016-04-03 17:59:37 +0200 |
commit | 610579384336f0fee184824195c3efbbcdbc805a (patch) | |
tree | cecb4e709ca6af428347be799fc3fd45451a8b7a | |
parent | Merge pull request #1616 from exhalatio/dlp_dummy (diff) | |
parent | OpenGL: Check for framebuffer completeness (diff) | |
download | yuzu-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.cpp | 3 |
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() { |