Loading Texture2d on parallel thread
Hello everybody,
my application has a NSTimer for rendering, I want to load my textures and other data in a parallel thread while timer renders a loading screen.
My problem is:
if I try to create a texture2d (using a code very similiar to crash landing example) starting an NSThread, glGenTextures call freezes my application and I can understand why..
Any help is appreciated, thanks.
|