mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-08-03 18:57:27 -04:00
Try to achieve better performance on MBX by disabling things
This commit is contained in:
parent
aa11859bda
commit
9b1af5d3af
@ -616,6 +616,7 @@ typedef cc_uint8 cc_bool;
|
|||||||
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL2
|
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL2
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL1
|
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL1
|
||||||
|
#define CC_DISABLE_ANIMATIONS
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -440,7 +440,7 @@ cc_bool Gfx_WarnIfNecessary(void) {
|
|||||||
#if defined CC_BUILD_SYMBIAN
|
#if defined CC_BUILD_SYMBIAN
|
||||||
if (String_ContainsConst(&renderer, "SGX")) {
|
if (String_ContainsConst(&renderer, "SGX")) {
|
||||||
} else if (String_ContainsConst(&renderer, "MBX")) {
|
} else if (String_ContainsConst(&renderer, "MBX")) {
|
||||||
Gfx.Limitations |= GFX_LIMIT_VERTEX_ONLY_FOG;
|
Gfx.Limitations |= GFX_LIMIT_MINIMAL;
|
||||||
mbx = true;
|
mbx = true;
|
||||||
} else if (!String_ContainsConst(&renderer, "HW")) {
|
} else if (!String_ContainsConst(&renderer, "HW")) {
|
||||||
Chat_AddRaw("&cSoftware rendering is being used, performance will greatly suffer.");
|
Chat_AddRaw("&cSoftware rendering is being used, performance will greatly suffer.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user