[Plib-users] Threads and textures
Brought to you by:
sjbaker
From: Tinoshi K. <ti...@li...> - 2006-01-11 20:14:52
|
Hi, I think I have got a problem related with OpenGL context and threads... = I'm loading my database in a secondary thread, and textures are not = loaded!!! if i print(stdout," ",3) the Leaf i load, textures handles are = always set to 0, while geometry (vertex) are correctly drawn. If I load = the database in the main thread, textures are loaded!=20 I tryed to pass to the thread the ssgGetCurrentContext() and to = makeCurrent() just inside the thread function, but I doesn't work... = What can I do??? Thanks!!! P.S. OS is WindowsXP, I use Visual Studio 6.0 |