r450 - trunk/code/renderer
    DONOTREPLY at icculus.org 
    DONOTREPLY at icculus.org
       
    Wed Dec 28 18:05:22 EST 2005
    
    
  
Author: tma
Date: 2005-12-28 18:05:22 -0500 (Wed, 28 Dec 2005)
New Revision: 450
Modified:
   trunk/code/renderer/tr_bsp.c
Log:
* Fix to what is apparently a typo in the original Q3 code
* If patch stitching breaks in mysterious ways, this change might be why
Modified: trunk/code/renderer/tr_bsp.c
===================================================================
--- trunk/code/renderer/tr_bsp.c	2005-12-28 06:22:24 UTC (rev 449)
+++ trunk/code/renderer/tr_bsp.c	2005-12-28 23:05:22 UTC (rev 450)
@@ -1214,7 +1214,7 @@
 		Com_Memcpy( hunkgrid->widthLodError, grid->widthLodError, grid->width * 4 );
 
 		hunkgrid->heightLodError = ri.Hunk_Alloc( grid->height * 4, h_low );
-		Com_Memcpy( grid->heightLodError, grid->heightLodError, grid->height * 4 );
+		Com_Memcpy( hunkgrid->heightLodError, grid->heightLodError, grid->height * 4 );
 
 		R_FreeSurfaceGridMesh( grid );
 
    
    
More information about the quake3-commits
mailing list