r913 - trunk/code/renderer
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Sep 22 08:53:03 EDT 2006
Author: thilo
Date: 2006-09-22 08:53:03 -0400 (Fri, 22 Sep 2006)
New Revision: 913
Modified:
trunk/code/renderer/tr_model.c
Log:
Fix endian issue in MDR loading.
Modified: trunk/code/renderer/tr_model.c
===================================================================
--- trunk/code/renderer/tr_model.c 2006-09-21 12:04:21 UTC (rev 912)
+++ trunk/code/renderer/tr_model.c 2006-09-22 12:53:03 UTC (rev 913)
@@ -652,9 +652,9 @@
for(j = 0; j < surf->numTriangles; j++)
{
- tri->indexes[0] = curtri->indexes[0];
- tri->indexes[1] = curtri->indexes[1];
- tri->indexes[2] = curtri->indexes[2];
+ tri->indexes[0] = LittleLong(curtri->indexes[0]);
+ tri->indexes[1] = LittleLong(curtri->indexes[1]);
+ tri->indexes[2] = LittleLong(curtri->indexes[2]);
tri++;
curtri++;
More information about the quake3-commits
mailing list