diff options
author | SmileTheory <SmileTheory@gmail.com> | 2016-01-18 04:46:01 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:53:16 +0100 |
commit | 970b21fbcd3d42e641807ac0c5e9a29dc21095e9 (patch) | |
tree | f4d14a3d23053e64563a35799885ec44cc52b4b0 /src/renderergl2/tr_sky.c | |
parent | 14aa11b0de9c1a93b06cc5a8c6819b52268f4a54 (diff) |
OpenGL2: Direct state access, part 1: Texture binds
Diffstat (limited to 'src/renderergl2/tr_sky.c')
-rw-r--r-- | src/renderergl2/tr_sky.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_sky.c b/src/renderergl2/tr_sky.c index ae1dc2ab..3545a973 100644 --- a/src/renderergl2/tr_sky.c +++ b/src/renderergl2/tr_sky.c @@ -375,7 +375,7 @@ static void DrawSkySide( struct image_s *image, const int mins[2], const int max //tess.numIndexes = 0; tess.firstIndex = tess.numIndexes; - GL_Bind( image ); + GL_BindToTMU( image, TB_COLORMAP ); GL_Cull( CT_TWO_SIDED ); for ( t = mins[1]+HALF_SKY_SUBDIVISIONS; t <= maxs[1]+HALF_SKY_SUBDIVISIONS; t++ ) |