mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix two warnings I introduced a while back.
git-svn-id: https://svn.eduke32.com/eduke32@1880 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bfd38b4a89
commit
8c5492ec2e
1 changed files with 1 additions and 3 deletions
|
@ -5204,7 +5204,7 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16
|
||||||
float m[4][4];
|
float m[4][4];
|
||||||
int32_t oxdim = xdim, oydim = ydim;
|
int32_t oxdim = xdim, oydim = ydim;
|
||||||
#if defined(USE_OPENGL) && defined(POLYMER)
|
#if defined(USE_OPENGL) && defined(POLYMER)
|
||||||
int32_t olddetailmapping, oldglowmapping;
|
int32_t olddetailmapping = r_detailmapping, oldglowmapping = r_glowmapping;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -5440,8 +5440,6 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16
|
||||||
# ifdef POLYMER
|
# ifdef POLYMER
|
||||||
if (rendmode >= 4) {
|
if (rendmode >= 4) {
|
||||||
polymer_inb4rotatesprite(picnum, dapalnum, dashade);
|
polymer_inb4rotatesprite(picnum, dapalnum, dashade);
|
||||||
olddetailmapping = r_detailmapping;
|
|
||||||
oldglowmapping = r_glowmapping;
|
|
||||||
r_detailmapping = 0;
|
r_detailmapping = 0;
|
||||||
r_glowmapping = 0;
|
r_glowmapping = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue