mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-07 12:31:49 +02:00
Added S3TC_NOT_SUPPORTED define to be used by platforms externally.
This commit is contained in:
parent
cdb3f03e61
commit
0fccc9f393
@ -5994,7 +5994,7 @@ void RasterizerStorageGLES2::initialize() {
|
|||||||
// If the desktop build is using S3TC, and you export / run from the IDE for android, if the device supports
|
// If the desktop build is using S3TC, and you export / run from the IDE for android, if the device supports
|
||||||
// S3TC it will crash trying to load these textures, as they are not exported in the APK. This is a simple way
|
// S3TC it will crash trying to load these textures, as they are not exported in the APK. This is a simple way
|
||||||
// to prevent Android devices trying to load S3TC, by faking lack of hardware support.
|
// to prevent Android devices trying to load S3TC, by faking lack of hardware support.
|
||||||
#if defined(ANDROID_ENABLED) || defined(IPHONE_ENABLED)
|
#if defined(ANDROID_ENABLED) || defined(IPHONE_ENABLED) || defined(S3TC_NOT_SUPPORTED)
|
||||||
config.s3tc_supported = false;
|
config.s3tc_supported = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user