diff --git a/GL/draw.c b/GL/draw.c index a61e1cf..baf2e30 100644 --- a/GL/draw.c +++ b/GL/draw.c @@ -791,6 +791,8 @@ static void submitVertices(GLenum mode, GLsizei first, GLsizei count, GLenum typ doLighting = isLightingEnabled(); + glActiveTextureARB(activeTexture); + profiler_push(__func__);