From 2a55c890e037e660f0ecf693074de31159fe99cd Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 14 Mar 2016 00:07:15 +0000 Subject: [PATCH] Remove a couple of apparently unncessary glPushMatrix()/glPopMatrix() calls. git-svn-id: https://svn.eduke32.com/eduke32@5658 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymost.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index fd43d09be..e76a2e301 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -1267,7 +1267,9 @@ int32_t gloadtile_hi(int32_t dapic,int32_t dapalnum, int32_t facen, hicreplctyp if (!glinfo.bgra) { - for (int32_t j = siz.x*siz.y - 1; j >= 0; j--) + texfmt = GL_RGBA; + + for (int i=siz.x*siz.y, j=0; j