From 7a5518467e99cd081121cad58a6e7d66adad2746 Mon Sep 17 00:00:00 2001 From: James Turk Date: Fri, 18 Apr 2003 22:01:54 +0000 Subject: [PATCH] bug --- src/external/SDLGL_Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/SDLGL_Util.cpp b/src/external/SDLGL_Util.cpp index 8c1d523..d255a91 100755 --- a/src/external/SDLGL_Util.cpp +++ b/src/external/SDLGL_Util.cpp @@ -72,7 +72,7 @@ GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) } /* Create an OpenGL texture for the image */ - glGenTextures(1, &texture); + glGenTextures(1, &texture); //sometimes this returns a used ID?.. related to bug 723910 - ZImage Draws Wrong Image glBindTexture(GL_TEXTURE_2D, texture); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);