mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Ignore fast path if the drawsurf is a sprite
This commit is contained in:
parent
716a574abe
commit
18a3658935
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
|
||||||
backEnd.numSpheresUsed = 0;
|
backEnd.numSpheresUsed = 0;
|
||||||
|
|
||||||
for (i = 0, drawSurf = drawSurfs ; i < numDrawSurfs ; i++, drawSurf++) {
|
for (i = 0, drawSurf = drawSurfs ; i < numDrawSurfs ; i++, drawSurf++) {
|
||||||
if ( drawSurf->sort == oldSort ) {
|
if ( drawSurf->sort == oldSort && *drawSurf->surface != SF_SPRITE ) {
|
||||||
// fast path, same as previous sort
|
// fast path, same as previous sort
|
||||||
rb_surfaceTable[ *drawSurf->surface ]( drawSurf->surface );
|
rb_surfaceTable[ *drawSurf->surface ]( drawSurf->surface );
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue