summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_main.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2016-01-18 04:46:01 -0800
committerTim Angus <tim@ngus.net>2016-04-07 11:53:16 +0100
commit970b21fbcd3d42e641807ac0c5e9a29dc21095e9 (patch)
treef4d14a3d23053e64563a35799885ec44cc52b4b0 /src/renderergl2/tr_main.c
parent14aa11b0de9c1a93b06cc5a8c6819b52268f4a54 (diff)
OpenGL2: Direct state access, part 1: Texture binds
Diffstat (limited to 'src/renderergl2/tr_main.c')
-rw-r--r--src/renderergl2/tr_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_main.c b/src/renderergl2/tr_main.c
index 14d18755..63fea5ac 100644
--- a/src/renderergl2/tr_main.c
+++ b/src/renderergl2/tr_main.c
@@ -2031,7 +2031,7 @@ void R_DebugGraphics( void ) {
R_IssuePendingRenderCommands();
- GL_Bind( tr.whiteImage);
+ GL_BindToTMU(tr.whiteImage, TB_COLORMAP);
GL_Cull( CT_FRONT_SIDED );
ri.CM_DrawDebugSurface( R_DebugPolygon );
}