Original Post
Hello Im working om my first project using opengl. Basicly what im doing is im rendering 6 textured quads with different textures. I generate the textures using glGenTextures(6). When rendering, I set the textures using glBindTexture outside the glBegin(GL_QUAD) and glEnd calls. The problem is that the textures sometimes turn white. They usually show correctly the first couple of frames, before they turn white. It seems to somehow be connected to the workload the application undergoes: if i enter a sleep(10) command in the rendering loop most textures stay correct, but some dont. The textures are 128*128. Is this just plain strange, or could there be something i have neglected to consider <- big chance since this is my first opengl app ;) I should also mention that im programming this from drScheme, not c++. Many thanks ;Emil