(Lakka) Shut valgrind up

This commit is contained in:
Higor Eurípedes 2014-09-12 17:26:15 -03:00
parent 85cef84bd4
commit 91fea130eb
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ static GLuint png_texture_load(const char * file_name)
texture_image_load(&ti, file_name);
/* Generate the OpenGL texture object */
GLuint texture;
GLuint texture = 0;
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, ti.width, ti.height, 0,