|
|
@ -1917,7 +1917,7 @@ void R_GenerateVBO( void ) |
|
|
|
if( surf->flags & ( SURF_DRAWSKY | SURF_DRAWTURB | SURF_CONVEYOR | SURF_DRAWTURB_QUADS ) ) |
|
|
|
if( surf->flags & ( SURF_DRAWSKY | SURF_DRAWTURB | SURF_CONVEYOR | SURF_DRAWTURB_QUADS ) ) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
if( R_TextureRandomTiling( surf ) != world->textures[j] ) |
|
|
|
if( R_TextureAnimation( surf ) != world->textures[j] ) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
if( vbo->array_len + surf->polys->numverts > VBOINDEX_MAX ) |
|
|
|
if( vbo->array_len + surf->polys->numverts > VBOINDEX_MAX ) |
|
|
@ -1985,7 +1985,7 @@ void R_GenerateVBO( void ) |
|
|
|
if( surf->flags & ( SURF_DRAWSKY | SURF_DRAWTURB | SURF_CONVEYOR | SURF_DRAWTURB_QUADS ) ) |
|
|
|
if( surf->flags & ( SURF_DRAWSKY | SURF_DRAWTURB | SURF_CONVEYOR | SURF_DRAWTURB_QUADS ) ) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
if( R_TextureRandomTiling( surf ) != world->textures[j] ) |
|
|
|
if( R_TextureAnimation( surf ) != world->textures[j] ) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
// switch to next array
|
|
|
|
// switch to next array
|
|
|
|