diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-30 15:00:39 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-30 15:00:39 +0000 |
commit | 891309256eb2b1af1222c67567b6aabc63c0c53d (patch) | |
tree | 2f192f546697599bb743411955020448649c0619 /code/renderer | |
parent | b27fc8e5d87eb934a1ac50f2fae03ec19885f581 (diff) | |
download | ioquake3-aero-891309256eb2b1af1222c67567b6aabc63c0c53d.tar.gz ioquake3-aero-891309256eb2b1af1222c67567b6aabc63c0c53d.zip |
- remove leftover anistropic filtering variables from glconfig_t
- check size of glconfig_t to prevent accidential ABI breakage in the future
git-svn-id: svn://svn.icculus.org/quake3/trunk@735 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_init.c | 5 | ||||
-rw-r--r-- | code/renderer/tr_types.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index b13d9d4..1b1bfc0 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -1070,6 +1070,11 @@ void R_Init( void ) { 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 ) { diff --git a/code/renderer/tr_types.h b/code/renderer/tr_types.h index 4ed880a..12b526e 100644 --- a/code/renderer/tr_types.h +++ b/code/renderer/tr_types.h @@ -200,9 +200,6 @@ typedef struct { qboolean isFullscreen; qboolean stereoEnabled; qboolean smpActive; // dual processor - - qboolean textureFilterAnisotropic; - int maxAnisotropy; } glconfig_t; // FIXME: VM should be OS agnostic .. in theory |