mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Polymer: fix floor sprites with y flipping by removing special-case code.
This fixes the case marked with the silver letter C in test_tileoffsets.map. The orientation of the sprites is correct (matches classic) as far as I can see, there are now only problems with translation. git-svn-id: https://svn.eduke32.com/eduke32@3776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
99d7f1e964
commit
91523f60b1
1 changed files with 0 additions and 4 deletions
|
@ -3709,10 +3709,6 @@ void polymer_updatesprite(int32_t snum)
|
|||
|
||||
bglTranslatef(spos[0], spos[1], spos[2]);
|
||||
bglRotatef(-ang, 0.0f, 1.0f, 0.0f);
|
||||
if (tspr->cstat & SPR_YFLIP) {
|
||||
bglRotatef(-180.0, 0.0f, 0.0f, 1.0f);
|
||||
flipu = !flipu;
|
||||
}
|
||||
bglTranslatef((float)(-xoff), 1.0f, (float)(yoff));
|
||||
bglScalef((float)(xsize), 1.0f, (float)(ysize));
|
||||
|
||||
|
|
Loading…
Reference in a new issue