in COGLES2ExtensionHandler.cpp there is:
Code: Select all
void COGLES2ExtensionHandler::initExtensions( COGLES2Driver* driver,
#ifdef EGL_VERSION_1_0
EGLDisplay display,
#endif
bool withStencil )
{ ... }
Code: Select all
/home/kine/android-ndk-r4-crystax/samples/irrlicht2/project/jni/COGLES2Driver.cpp: In member function 'bool irr::video::COGLES2Driver::genericDriverInit(const irr::core::dimension2d<unsigned int>&, bool)':
/home/kine/android-ndk-r4-crystax/samples/irrlicht2/project/jni/COGLES2Driver.cpp:236: error: no matching function for call to 'irr::video::COGLES2Driver::initExtensions(irr::video::COGLES2Driver* const, bool&)'
/home/kine/android-ndk-r4-crystax/samples/irrlicht2/project/jni/COGLES2ExtensionHandler.h:132: note: candidates are: void irr::video::COGLES2ExtensionHandler::initExtensions(irr::video::COGLES2Driver*, void*, bool)
By the way irrlicht built shaders in that ogles version are linked to :"../../media/shaders" ... shouldn't it be a compile option ?
While porting ogles2.0 to android, I also had a problem with the fixed pipeline shaders that won't link. Compile is ok and google reports that It might be a "too much variables declared" error or maybe something else I don't know ( It won't link on my samsung GT I9000 ( a quite recent mobile)). If you're aware of something else that could cause the bug or I'll maybe have to rewrite the whole fixed pipeline in several dedicated shaders. Of course normal shaders and others are looking quite good I must say
Hope this helps, and hope someone solves my problem
Kine