[android] More debug print for the android irrlicht device
This commit is contained in:
parent
40b45a8442
commit
f484e7ef6b
@ -74,6 +74,8 @@ CIrrDeviceAndroid::CIrrDeviceAndroid(const SIrrlichtCreationParameters& param)
|
|||||||
// Android OS.
|
// Android OS.
|
||||||
os::Printer::log("Waiting for Android activity window to be created.", ELL_DEBUG);
|
os::Printer::log("Waiting for Android activity window to be created.", ELL_DEBUG);
|
||||||
|
|
||||||
|
if(Android->window == NULL) {
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
while( (ident = ALooper_pollAll( 0, NULL, &events,(void**)&source)) >= 0 )
|
while( (ident = ALooper_pollAll( 0, NULL, &events,(void**)&source)) >= 0 )
|
||||||
@ -86,6 +88,8 @@ CIrrDeviceAndroid::CIrrDeviceAndroid(const SIrrlichtCreationParameters& param)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
while( IsReady == false );
|
while( IsReady == false );
|
||||||
|
}
|
||||||
|
os::Printer::log("Done", ELL_DEBUG);
|
||||||
|
|
||||||
assert( Android->window );
|
assert( Android->window );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user