diff options
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp index 8454cbb0a27..d5a870a0040 100644 --- a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp +++ b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp @@ -196,7 +196,7 @@ void RAS_2DFilterManager::SetupTexture() { glDeleteTextures(1,(const GLuint *)&texname); } - glGenTextures(1, (const GLuint *)&texname); + glGenTextures(1, (GLuint *)&texname); glBindTexture(GL_TEXTURE_2D, texname); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texturewidth, textureheight, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); |