game/client(android): view optimization

This commit is contained in:
nillerusr 2022-10-16 22:42:00 +03:00
parent 7b6d0a5dbb
commit 471eb3dd26

View file

@ -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?