[android] More debug print for the android irrlicht device

This commit is contained in:
Lucas Baudin 2016-02-25 23:13:33 +01:00
parent 40b45a8442
commit f484e7ef6b

View File

@ -74,6 +74,8 @@ CIrrDeviceAndroid::CIrrDeviceAndroid(const SIrrlichtCreationParameters& param)
// Android OS.
os::Printer::log("Waiting for Android activity window to be created.", ELL_DEBUG);
if(Android->window == NULL) {
do
{
while( (ident = ALooper_pollAll( 0, NULL, &events,(void**)&source)) >= 0 )
@ -86,6 +88,8 @@ CIrrDeviceAndroid::CIrrDeviceAndroid(const SIrrlichtCreationParameters& param)
}
}
while( IsReady == false );
}
os::Printer::log("Done", ELL_DEBUG);
assert( Android->window );