diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2008-06-29 16:25:15 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2008-06-29 16:25:15 +0400 |
commit | 7056d63f418dfcfd774d7dce27aa442939daf7ad (patch) | |
tree | 105bac4c58d9f7ba353ce385c59b69fdc31fb747 | |
parent | 13e4ae15428cc5f05d114ec522953e6cf06b4dbb (diff) |
adding explicit cast to get things compiling
-rw-r--r-- | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp index e2761ce0a15..23153fcd86c 100644 --- a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp +++ b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp @@ -214,9 +214,9 @@ void RAS_2DFilterManager::SetupTexture() { if(texname[0]!=-1 || texname[1]!=-1) { - glDeleteTextures(2, texname); + glDeleteTextures(2, (GLuint*)texname); } - glGenTextures(3, texname); + glGenTextures(3, (GLuint*)texname); glBindTexture(GL_TEXTURE_2D, texname[0]); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texturewidth, textureheight, 0, GL_RGB, |