From 9942e1de54126408ef17844c23fc276874bf5ebb Mon Sep 17 00:00:00 2001 From: plagman Date: Fri, 4 Apr 2008 07:33:59 +0000 Subject: [PATCH] Wall sprites are now one-sided. git-svn-id: https://svn.eduke32.com/eduke32@690 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/include/polymer.h | 1 - polymer/build/src/engine.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/build/include/polymer.h b/polymer/build/include/polymer.h index 59ab444dc..a97eef3e0 100644 --- a/polymer/build/include/polymer.h +++ b/polymer/build/include/polymer.h @@ -8,7 +8,6 @@ // 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 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 polymer.c possibly needs to be split in several source files // o some crap really needs factorization diff --git a/polymer/build/src/engine.c b/polymer/build/src/engine.c index 83783d87e..129070bde 100644 --- a/polymer/build/src/engine.c +++ b/polymer/build/src/engine.c @@ -3190,9 +3190,11 @@ static void drawsprite(int snum) bglEnable(GL_ALPHA_TEST); bglEnable(GL_BLEND); bglEnable(GL_POLYGON_OFFSET_FILL); + bglEnable(GL_CULL_FACE); polymer_drawsprite(snum); + bglDisable(GL_CULL_FACE); bglDisable(GL_POLYGON_OFFSET_FILL); bglDisable(GL_BLEND); bglDisable(GL_ALPHA_TEST);