r1262 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 14 08:30:37 EST 2008


Author: ludwig
Date: 2008-02-14 08:30:32 -0500 (Thu, 14 Feb 2008)
New Revision: 1262

Modified:
   trunk/code/renderer/tr_image_pcx.c
Log:
make the pcx decode actually work


Modified: trunk/code/renderer/tr_image_pcx.c
===================================================================
--- trunk/code/renderer/tr_image_pcx.c	2008-02-14 13:16:13 UTC (rev 1261)
+++ trunk/code/renderer/tr_image_pcx.c	2008-02-14 13:30:32 UTC (rev 1262)
@@ -91,6 +91,7 @@
 
 	w = LittleShort(pcx->xmax)+1;
 	h = LittleShort(pcx->ymax)+1;
+	size = w*h;
 
 	if (pcx->manufacturer != 0x0a
 		|| pcx->version != 5




More information about the quake3-commits mailing list