Switch to OGLES2, it seems to be working

This commit is contained in:
Lucas Baudin 2016-02-25 16:48:39 +01:00
parent 2b543ca88d
commit 22b8d15939

View File

@ -41,7 +41,7 @@ extern "C" void android_main2(struct android_app* app)
__android_log_print(ANDROID_LOG_VERBOSE, "native-activity", "The value of 1 + 1 is %d", 1+1);
#ifdef _IRR_ANDROID_PLATFORM_
const bool shadows = false;
video::E_DRIVER_TYPE driverType=video::EDT_OGLES1;
video::E_DRIVER_TYPE driverType=video::EDT_OGLES2;
#else
// ask if user would like shadows
char i;
@ -404,7 +404,6 @@ __android_log_print(ANDROID_LOG_VERBOSE, "native-activity", "frame %d", __LINE__
device->setWindowCaption(str.c_str());
lastFPS = fps;
}
__android_log_print(ANDROID_LOG_VERBOSE, "native-activity", "frame %d", lastFPS);
}
device->drop();