summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_dsa.c')
-rw-r--r--src/renderergl2/tr_dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_dsa.c b/src/renderergl2/tr_dsa.c
index a766263a..9cd481bd 100644
--- a/src/renderergl2/tr_dsa.c
+++ b/src/renderergl2/tr_dsa.c
@@ -210,7 +210,7 @@ void GL_BindNullFramebuffers()
qglBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
glDsaState.drawFramebuffer = glDsaState.readFramebuffer = 0;
qglBindRenderbufferEXT(GL_RENDERBUFFER_EXT, 0);
- glDsaState.readFramebuffer = 0;
+ glDsaState.renderbuffer = 0;
}
void GL_BindFramebuffer(GLenum target, GLuint framebuffer)