But I have Qt project which uses Irrlicht, and now i'm trying to port this project to Android. But it chases.
The problem is in CIrrDeviceAndroid.cpp (part of irrLicht lib)
Code: Select all
Android = (android_app*)(param.PrivateData);
in main.cpp of 27th example
Code: Select all
void android_main(android_app* app){
//some code
param.PrivateData = app;
//some code
IrrlichtDevice *device = createDeviceEx(param);
my current code related to params
Code: Select all
SIrrlichtCreationParameters createParams;
createParams.WindowId = ( void * ) this->winId();
createParams.AntiAlias = 1;
createParams.DriverType = EDT_OPENGL;
createParams.Bits = 16;
createParams.DriverMultithreaded = true;
createParams.IgnoreInput = false;
createParams.HighPrecisionFPU = true;
createParams.Vsync = false;
createParams.Stencilbuffer = false;
//added
createParams.WindowSize = windowSize;
_device = createDeviceEx( createParams );