mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
game/client(android): view optimization
This commit is contained in:
parent
cf44c39aaf
commit
b9a21f26ba
@ -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 mat_viewportupscale( "mat_viewportupscale", "1", FCVAR_ARCHIVE, "Scale the viewport back up" );
|
||||||
ConVar cl_leveloverview( "cl_leveloverview", "0", FCVAR_CHEAT );
|
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" );
|
"Set the max dimension for the map. This determines the far clipping plane" );
|
||||||
|
|
||||||
// UNDONE: Delete this or move to the material system?
|
// UNDONE: Delete this or move to the material system?
|
||||||
|
Loading…
Reference in New Issue
Block a user