mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 01:11:44 +01:00
ref: gl: fix stuck single lightmap texture object when using VBO after updating lightmap
This commit is contained in:
parent
f162fbd806
commit
150d98bd15
@ -2993,7 +2993,7 @@ void R_ClearVBOState( qboolean drawlightmap, qboolean drawtextures )
|
||||
if( drawlightmap )
|
||||
{
|
||||
// reset states
|
||||
GL_SelectTexture( XASH_TEXTURE1 );
|
||||
GL_Bind( XASH_TEXTURE1, tr.defaultTexture ); // force reset tmu in case we have only one lightmap
|
||||
pglDisableClientState( GL_TEXTURE_COORD_ARRAY );
|
||||
pglDisable( GL_TEXTURE_2D );
|
||||
if( drawtextures )
|
||||
|
Loading…
Reference in New Issue
Block a user