enable opengl es1

This commit is contained in:
sandstranger 2015-12-02 22:40:04 +03:00
parent 77965501d4
commit bd5057aa3c
8 changed files with 250 additions and 63 deletions

View file

@ -217,6 +217,13 @@ namespace SDLUtil
void SDLCursorManager::_createCursorFromResource(const std::string& name, int rotDegrees, osg::Image* image, Uint8 size_x, Uint8 size_y, Uint8 hotspot_x, Uint8 hotspot_y)
{
#ifdef ANDROID
return;
#endif
if (mCursorMap.find(name) != mCursorMap.end())
return;
if (mCursorMap.find(name) != mCursorMap.end())
return;