mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
game/client(android): view optimization
This commit is contained in:
@@ -118,7 +118,13 @@ ConVar mat_viewportscale( "mat_viewportscale", "1.0", FCVAR_ARCHIVE, "Scale down
|
||||
ConVar mat_viewportupscale( "mat_viewportupscale", "1", FCVAR_ARCHIVE, "Scale the viewport back up" );
|
||||
ConVar cl_leveloverview( "cl_leveloverview", "0", FCVAR_CHEAT );
|
||||
|
||||
static ConVar r_mapextents( "r_mapextents", "16384", FCVAR_CHEAT,
|
||||
#ifdef ANDROID
|
||||
#define MAPEXTENTS_DEFAULT "12288" // small optimization
|
||||
#else
|
||||
#define MAPEXTENTS_DEFAULT "16384"
|
||||
#endif
|
||||
|
||||
static ConVar r_mapextents( "r_mapextents", MAPEXTENTS_DEFAULT, FCVAR_CHEAT,
|
||||
"Set the max dimension for the map. This determines the far clipping plane" );
|
||||
|
||||
// UNDONE: Delete this or move to the material system?
|
||||
|
||||
Reference in New Issue
Block a user