Add graphics restrictions for iOS simulator
This commit is contained in:
parent
58e69ce8df
commit
5d2b3efe12
@ -39,5 +39,7 @@
|
||||
<card os="android" version="<19" disable="SystemScreenKeyboard"/>
|
||||
<card contains="Android Emulator" os="android" disable="ForceLegacyDevice"/>
|
||||
<card contains="Android Emulator" os="android" disable="NpotTextures"/>
|
||||
<card contains="Apple Software Renderer" os="ios" disable="ForceLegacyDevice"/>
|
||||
<card contains="Apple Software Renderer" os="ios" disable="NpotTextures"/>
|
||||
<card vendor="Broadcom" os="linux" disable="HighDefinitionTextures256"/>
|
||||
</graphical-restrictions>
|
||||
|
@ -451,6 +451,8 @@ public:
|
||||
{
|
||||
#if defined(__linux__) && !defined(ANDROID)
|
||||
if(m_os!="linux") return false;
|
||||
#elif defined(IOS_STK)
|
||||
if(m_os!="ios") return false;
|
||||
#elif defined(WIN32)
|
||||
if(m_os!="windows") return false;
|
||||
#elif defined(__APPLE__)
|
||||
|
Loading…
Reference in New Issue
Block a user