Try to achieve better performance on MBX by disabling things

This commit is contained in:
Shinovon 2025-07-26 02:40:44 +05:00
parent aa11859bda
commit 9b1af5d3af
2 changed files with 2 additions and 1 deletions

View File

@ -616,6 +616,7 @@ typedef cc_uint8 cc_bool;
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL2
#else
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_GL1
#define CC_DISABLE_ANIMATIONS
#endif
#endif
#endif

View File

@ -440,7 +440,7 @@ cc_bool Gfx_WarnIfNecessary(void) {
#if defined CC_BUILD_SYMBIAN
if (String_ContainsConst(&renderer, "SGX")) {
} else if (String_ContainsConst(&renderer, "MBX")) {
Gfx.Limitations |= GFX_LIMIT_VERTEX_ONLY_FOG;
Gfx.Limitations |= GFX_LIMIT_MINIMAL;
mbx = true;
} else if (!String_ContainsConst(&renderer, "HW")) {
Chat_AddRaw("&cSoftware rendering is being used, performance will greatly suffer.");