From 25de48b3f6073c258c05124d251f0560d521fd8f Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Tue, 21 Aug 2018 15:50:41 +0100 Subject: [PATCH] Fix a bug where only one texture would bind --- GL/draw.c | 2 ++ 1 file changed, 2 insertions(+) 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__);