Bryan Taylor
12-23-2007, 09:12 PM
I'm attempting to write a slideshow style screensaver. I have created a mock up using glut, and everything works beautifully. However, when I use the exact same code (same files, same functions) in my screensaver framework, the slideshow images show up as large white blocks.
I had this happen to me before when I was loading the textures in a background thread. My solution then was to load the textures in the same thread that would be displaying them. This isn't ideal.
So, how do you load textures in one thread (via gluBuild2DMipmaps) and use them in another? I think if I can get that to work then my problem might go away. Thanks in advance!
I had this happen to me before when I was loading the textures in a background thread. My solution then was to load the textures in the same thread that would be displaying them. This isn't ideal.
So, how do you load textures in one thread (via gluBuild2DMipmaps) and use them in another? I think if I can get that to work then my problem might go away. Thanks in advance!