Hi i am running at some trouble with an project on mac which uses threads and fbo. I have an instance of a class which is running a database update each 30 seconds in a thread. I stores the data and after this it is drawing the position data as polyline in a fbo. i have also another instance of another class which is also drawing some stuff inside a fbo. In the of app, i draw the fbo from the not threaded instance and if the thread send it is not locked it should also draw the threaded fbo. but it crashed every time, also if i commented out drawing the threaded fbo.
this is the code of the threaded function:
the error is:
1 glrenderer::get native viewport
2 glrenderer::get current viewport
has anybody an suggestion why this happened? thanks in advance.