12 Apr 2011

This commit is contained in:
g-cont 2011-04-12 00:00:00 +04:00 committed by Alibek Omarov
parent 737633812f
commit 0646157b0f
3 changed files with 1622 additions and 2 deletions

View File

@ -897,6 +897,12 @@ int GL_LoadTexture( const char *name, const byte *buf, size_t size, int flags )
return 0;
}
// get rid of black vertical line on a 'BlackMesa map'
if( !Q_strcmp( name, "#lab1_map1.mip" ) || !Q_strcmp( name, "#lab1_map2.mip" ))
{
flags |= TF_NEAREST;
}
// see if already loaded
hash = Com_HashKey( name, TEXTURES_HASH_SIZE );

1616
engine/client/gl_rsurf.old Normal file

File diff suppressed because it is too large Load Diff

View File

@ -355,8 +355,6 @@ cvar_t *pfnCVarGetPointer( const char *szVarName )
cvPtr = (cvar_t *)Cvar_FindVar( szVarName );
Msg( "GetCVarPointer: %s - %s\n", szVarName, cvPtr != NULL ? "^2done" : "^1fail" );
return cvPtr;
}