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