diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-04-03 17:05:04 +0200 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-04-03 17:06:05 +0200 |
commit | 693cbc1f8ff4b7c01c0f30b871e8301e6867d4c2 (patch) | |
tree | cecb4e709ca6af428347be799fc3fd45451a8b7a /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #1616 from exhalatio/dlp_dummy (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-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() { |