Fix invalid value error

This commit is contained in:
Magnus Norddahl 2016-08-17 21:25:31 +02:00
parent a37225b81e
commit 2825bd4967
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ void FGLRenderBuffers::Setup(int width, int height, int sceneWidth, int sceneHei
mBloomHeight = sceneHeight;
}
glBindTexture(GL_TEXTURE_BINDING_2D, textureBinding);
glBindTexture(GL_TEXTURE_2D, textureBinding);
glActiveTexture(activeTex);
glBindRenderbuffer(GL_RENDERBUFFER, 0);
glBindFramebuffer(GL_FRAMEBUFFER, 0);