mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Wall sprites are now one-sided.
git-svn-id: https://svn.eduke32.com/eduke32@690 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b587d4087e
commit
9942e1de54
2 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,6 @@
|
||||||
// o also sliding doors are still fucked up sometimes (like under the bar in E1L2)
|
// o also sliding doors are still fucked up sometimes (like under the bar in E1L2)
|
||||||
// o port glowmaps and detail maps from hacked polymost (:(
|
// o port glowmaps and detail maps from hacked polymost (:(
|
||||||
// o shading needs a lot of work
|
// o shading needs a lot of work
|
||||||
// o proper mask texture coordinates and color/palette and shit
|
|
||||||
// o remove all the IM matrix crap and write real functions now that it works
|
// o remove all the IM matrix crap and write real functions now that it works
|
||||||
// o polymer.c possibly needs to be split in several source files
|
// o polymer.c possibly needs to be split in several source files
|
||||||
// o some crap really needs factorization
|
// o some crap really needs factorization
|
||||||
|
|
|
@ -3190,9 +3190,11 @@ static void drawsprite(int snum)
|
||||||
bglEnable(GL_ALPHA_TEST);
|
bglEnable(GL_ALPHA_TEST);
|
||||||
bglEnable(GL_BLEND);
|
bglEnable(GL_BLEND);
|
||||||
bglEnable(GL_POLYGON_OFFSET_FILL);
|
bglEnable(GL_POLYGON_OFFSET_FILL);
|
||||||
|
bglEnable(GL_CULL_FACE);
|
||||||
|
|
||||||
polymer_drawsprite(snum);
|
polymer_drawsprite(snum);
|
||||||
|
|
||||||
|
bglDisable(GL_CULL_FACE);
|
||||||
bglDisable(GL_POLYGON_OFFSET_FILL);
|
bglDisable(GL_POLYGON_OFFSET_FILL);
|
||||||
bglDisable(GL_BLEND);
|
bglDisable(GL_BLEND);
|
||||||
bglDisable(GL_ALPHA_TEST);
|
bglDisable(GL_ALPHA_TEST);
|
||||||
|
|
Loading…
Reference in a new issue