- remove leftover anistropic filtering variables from glconfig_t
- check size of glconfig_t to prevent accidential ABI breakage in the future
This commit is contained in:
parent
12a2b7694a
commit
8895df0925
2 changed files with 5 additions and 3 deletions
|
@ -1070,6 +1070,11 @@ void R_Init( void ) {
|
||||||
Com_Memset( &backEnd, 0, sizeof( backEnd ) );
|
Com_Memset( &backEnd, 0, sizeof( backEnd ) );
|
||||||
Com_Memset( &tess, 0, sizeof( tess ) );
|
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();
|
// Swap_Init();
|
||||||
|
|
||||||
if ( (int)tess.xyz & 15 ) {
|
if ( (int)tess.xyz & 15 ) {
|
||||||
|
|
|
@ -200,9 +200,6 @@ typedef struct {
|
||||||
qboolean isFullscreen;
|
qboolean isFullscreen;
|
||||||
qboolean stereoEnabled;
|
qboolean stereoEnabled;
|
||||||
qboolean smpActive; // dual processor
|
qboolean smpActive; // dual processor
|
||||||
|
|
||||||
qboolean textureFilterAnisotropic;
|
|
||||||
int maxAnisotropy;
|
|
||||||
} glconfig_t;
|
} glconfig_t;
|
||||||
|
|
||||||
// FIXME: VM should be OS agnostic .. in theory
|
// FIXME: VM should be OS agnostic .. in theory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue