From a9a1379278f9bca7773e40389ed917ed217b3e0b Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 29 Jul 2008 06:34:29 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@917 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/mdsprite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/build/src/mdsprite.c b/polymer/build/src/mdsprite.c index a901b8aa7..ac9d0876b 100644 --- a/polymer/build/src/mdsprite.c +++ b/polymer/build/src/mdsprite.c @@ -633,6 +633,8 @@ static int mdloadskin_cached(int fil, texcacheheader *head, int *doalloc, GLuint pict.ydim = B_LITTLE32(pict.ydim); pict.border = B_LITTLE32(pict.border); pict.depth = B_LITTLE32(pict.depth); + pict.xdim >>= head->quality; + pict.ydim >>= head->quality; if (level == 0) { *xsiz = pict.xdim; *ysiz = pict.ydim; }