r735 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Apr 30 11:00:39 EDT 2006


Author: ludwig
Date: 2006-04-30 11:00:39 -0400 (Sun, 30 Apr 2006)
New Revision: 735

Modified:
   trunk/code/renderer/tr_init.c
   trunk/code/renderer/tr_types.h
Log:
- remove leftover anistropic filtering variables from glconfig_t
- check size of glconfig_t to prevent accidential ABI breakage in the future


Modified: trunk/code/renderer/tr_init.c
===================================================================
--- trunk/code/renderer/tr_init.c	2006-04-30 14:32:56 UTC (rev 734)
+++ trunk/code/renderer/tr_init.c	2006-04-30 15:00:39 UTC (rev 735)
@@ -1070,6 +1070,11 @@
 	Com_Memset( &backEnd, 0, sizeof( backEnd ) );
 	Com_Memset( &tess, 0, sizeof( tess ) );
 
+	if(sizeof(glconfig_t) != 11332)
+	{
+		ri.Error( ERR_FATAL, "Mod ABI incompatible: sizeof(glconfig_t) == %zd != 11332", sizeof(glconfig_t));
+	}
+
 //	Swap_Init();
 
 	if ( (int)tess.xyz & 15 ) {

Modified: trunk/code/renderer/tr_types.h
===================================================================
--- trunk/code/renderer/tr_types.h	2006-04-30 14:32:56 UTC (rev 734)
+++ trunk/code/renderer/tr_types.h	2006-04-30 15:00:39 UTC (rev 735)
@@ -200,9 +200,6 @@
 	qboolean				isFullscreen;
 	qboolean				stereoEnabled;
 	qboolean				smpActive;		// dual processor
-
-	qboolean				textureFilterAnisotropic;
-	int						maxAnisotropy;
 } glconfig_t;
 
 // FIXME: VM should be OS agnostic .. in theory




More information about the quake3-commits mailing list