Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 8802ade

Browse files
authored
Merge pull request #143 from maksqwe/unbindfbo_fix
Fix pglBindFrameBufferEXT check in gsBufferReader::unbindFBO()
2 parents 33d258e + f939de4 commit 8802ade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodeXL/Components/GpuDebugging/AMDTOpenGLServer/src/gsBufferReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void gsBufferReader::unbindFBO()
8585
pglBindFrameBuffer(GL_READ_FRAMEBUFFER, 0);
8686
SU_AFTER_EXECUTING_REAL_FUNCTION(ap_glBindFramebuffer);
8787
}
88-
else if (pglBindFrameBuffer != NULL)
88+
else if (pglBindFrameBufferEXT != NULL)
8989
{
9090
SU_BEFORE_EXECUTING_REAL_FUNCTION(ap_glBindFramebufferEXT);
9191
pglBindFrameBufferEXT(GL_FRAMEBUFFER_EXT, 0);

0 commit comments

Comments
 (0)