mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-02 17:02:59 +00:00
Merge pull request #1638 from JayFoxRox/check-fb-complete
OpenGL: Check for framebuffer completeness
This commit is contained in:
commit
6105793843
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue