From 2825bd496712be25fbc2dd176f707b585698c20f Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Wed, 17 Aug 2016 21:25:31 +0200 Subject: [PATCH] Fix invalid value error --- src/gl/renderer/gl_renderbuffers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/renderer/gl_renderbuffers.cpp b/src/gl/renderer/gl_renderbuffers.cpp index f4ca9d9357..a3433c075d 100644 --- a/src/gl/renderer/gl_renderbuffers.cpp +++ b/src/gl/renderer/gl_renderbuffers.cpp @@ -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);