Closed groves closed 11 years ago
Thanks a lot! I'll have a look at it when I implement the next version (which will be very soon).
Sparrow 2.0 allows you to access the EAGLContext of each "SPViewController" instance, and it has built-in methods to load textures asynchronously. So this has become obsolete now.
I pulled the code from http://forum.sparrow-framework.org/topic/thread-safety-when-rendering-spimages#post-9344 into useNewSharedEAGLContext on SPView. It creates a new EAGLContext with the main context's sharegroup. It then makes it the context for the current thread.
This is part of issue #1019.