Commit 467f89ab authored by Thomas Guillem's avatar Thomas Guillem

opengl: remove useless code

You need to activate a texture before rendering it. It's useless to do it
before allocating/modifing it.
parent 0bc996b2
......@@ -395,8 +395,6 @@ GenTextures(const opengl_tex_converter_t *tc,
for (unsigned i = 0; i < tc->tex_count; i++)
glActiveTexture(GL_TEXTURE0 + i);
glClientActiveTexture(GL_TEXTURE0 + i);
glBindTexture(tc->tex_target, textures[i]);
#if !defined(USE_OPENGL_ES2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment