We do have in our OGLES2 implementation this function :
So i just tried now and the end of CreateWindow in CIrrDevieSDL.cpp to do :void aglMakeCurrent(void* context);
The context you provide here will be the one on which all gl-functions will
operate on.
Code: Select all
IOGLES2->aglMakeCurrent((void*)this);
Code: Select all
IOGLES2->aglMakeCurrent(this);