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

+2 -2
View File
@@ -206,7 +206,7 @@ void RB_ShadowTessEnd( void ) {
// draw the silhouette edges
GL_Bind( tr.whiteImage );
GL_BindToTMU( tr.whiteImage, TB_COLORMAP );
GL_State( GLS_SRCBLEND_ONE | GLS_DSTBLEND_ZERO );
qglColor3f( 0.2f, 0.2f, 0.2f );
@@ -256,7 +256,7 @@ void RB_ShadowFinish( void ) {
qglDisable (GL_CLIP_PLANE0);
GL_Cull( CT_TWO_SIDED );
GL_Bind( tr.whiteImage );
GL_BindToTMU( tr.whiteImage, TB_COLORMAP );
qglLoadIdentity ();