Minor fix in graphics restrictions.
Some android restrictions are very basic, eg. UniformBufferObject is disabled on whole platform. So make sure that it's not used on any exotic OS.
This commit is contained in:
parent
dec9948d0b
commit
6465cc4569
@ -365,18 +365,16 @@ public:
|
|||||||
{
|
{
|
||||||
#if defined(__linux__) && !defined(ANDROID)
|
#if defined(__linux__) && !defined(ANDROID)
|
||||||
if(m_os!="linux") return false;
|
if(m_os!="linux") return false;
|
||||||
#endif
|
#elif defined(WIN32)
|
||||||
#ifdef WIN32
|
|
||||||
if(m_os!="windows") return false;
|
if(m_os!="windows") return false;
|
||||||
#endif
|
#elif defined(__APPLE__)
|
||||||
#ifdef __APPLE__
|
|
||||||
if(m_os!="osx") return false;
|
if(m_os!="osx") return false;
|
||||||
#endif
|
#elif defined(BSD)
|
||||||
#ifdef BSD
|
|
||||||
if(m_os!="bsd") return false;
|
if(m_os!="bsd") return false;
|
||||||
#endif
|
#elif defined(ANDROID)
|
||||||
#ifdef ANDROID
|
|
||||||
if(m_os!="android") return false;
|
if(m_os!="android") return false;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
} // m_os.size()>0
|
} // m_os.size()>0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user