mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-27 15:24:25 +00:00
ref_gl: fix rarely broken texturechain on some big maps
This commit is contained in:
parent
b81f94518a
commit
3a8f4961bc
@ -2690,7 +2690,7 @@ void R_DrawVBO( qboolean drawlightmap, qboolean drawtextures )
|
||||
// update texcoord pointers
|
||||
if( drawtextures )
|
||||
{
|
||||
tex = R_SetupVBOTexture( tex, 0 );
|
||||
tex = R_SetupVBOTexture( tex, j );
|
||||
pglTexCoordPointer( 2, GL_FLOAT, sizeof( vbovertex_t ), (void*)offsetof(vbovertex_t, gl_tc ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user