@@ -546,12 +546,12 @@ void glSprite( int x, int y, int flipmode, const glImage *spr )
546546 int x2 = x + spr -> width ;
547547 int y2 = y + spr -> height ;
548548
549- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
549+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
550550 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width );
551551 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
552552 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height );
553553
554-
554+
555555
556556 if ( spr -> textureID != gCurrentTexture )
557557 {
@@ -591,7 +591,7 @@ void glSpriteScale( int x, int y, s32 scale, int flipmode, const glImage *spr )
591591 int x2 = spr -> width ;
592592 int y2 = spr -> height ;
593593
594- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
594+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
595595 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
596596 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
597597 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
@@ -643,7 +643,7 @@ void glSpriteScaleXY( int x, int y, s32 scaleX, s32 scaleY, int flipmode, const
643643 int x2 = spr -> width ;
644644 int y2 = spr -> height ;
645645
646- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
646+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
647647 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
648648 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
649649 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
@@ -698,7 +698,7 @@ void glSpriteRotate( int x, int y, s32 angle, int flipmode, const glImage *spr )
698698 int y2 = s_half_y ;
699699
700700
701- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
701+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
702702 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
703703 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
704704 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
@@ -755,7 +755,7 @@ void glSpriteRotateScale( int x, int y, s32 angle, s32 scale, int flipmode, cons
755755 int x2 = s_half_x ;
756756 int y2 = s_half_y ;
757757
758- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
758+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
759759 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
760760 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
761761 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
@@ -815,7 +815,7 @@ void glSpriteRotateScaleXY( int x, int y, s32 angle, s32 scaleX, s32 scaleY, int
815815 int x2 = s_half_x ;
816816 int y2 = s_half_y ;
817817
818- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
818+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
819819 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
820820 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
821821 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
@@ -967,7 +967,7 @@ void glSpriteOnQuad( int x1, int y1,
967967 )
968968{
969969
970- int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
970+ int u1 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? spr -> width - 1 : 0 );
971971 int u2 = spr -> u_off + (( flipmode & GL_FLIP_H ) ? 0 : spr -> width - 1 );
972972 int v1 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? spr -> height - 1 : 0 );
973973 int v2 = spr -> v_off + (( flipmode & GL_FLIP_V ) ? 0 : spr -> height - 1 );
0 commit comments