Fix a bug where only one texture would bind

This commit is contained in:
Luke Benstead 2018-08-21 15:50:41 +01:00
parent 0d69740231
commit 25de48b3f6

View File

@ -791,6 +791,8 @@ static void submitVertices(GLenum mode, GLsizei first, GLsizei count, GLenum typ
doLighting = isLightingEnabled(); doLighting = isLightingEnabled();
glActiveTextureARB(activeTexture);
profiler_push(__func__); profiler_push(__func__);