OpenGL2: Direct state access, part 1: Texture binds

This commit is contained in:
SmileTheory committed 2016-01-18 04:46:01 -08:00
1 parent 3089df0398
commit 275317fefb
16 files changed
+356 -235

No files matched your search

+1 -1
View File
@@ -374,7 +374,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++ )