I compiled sample Irrlicht GLES2 application and linked with -lGLESv2. But running on Android 4.1.2 device (Huawei Media Pad 10) it outputs in LogCat that it uses GLES1 runtime:
01-28 20:47:27.728: I/Irrlicht(9228): OGLES2 initialized
01-28 20:47:27.728: I/log(9228): Using renderer: OpenGL ES-CM 1.1
Why this error occurred - I made something wrong during the linking phase, or I should change setting in OS, or it's a bug of my device? Did anyone face this error before?
只需使用
mGLView.setEGLContextClientVersion(2);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.