Hello everybody,

i have tried to isolate some methods and OpenGL ES calls to some normal c++ classes. But they doesn't work. The same code works when i use it in the Objective C class with the context. How can i solve this problem? I like to make a little wrapper class with the context and the view because i like to make the same code on Android.

Can someone explain how to isolate the whole methods and OpenGL calls?

Greets
krikit.