Found the problem. Calling glDeleteTexture and then glGenTexture without a new frame in between (Not looked deeper to see exactly what it wants) causes a white texture(If the TextureID glGenTexture picks was just free'd by glDeleteTexture). If there is a frame between the deletetexture and gentexture then it works right.... Wonder if its a driver bug.
I assume what is happening is that glDeleteTexture only free's the ID but not the Data when its called and that when a new frame happens it free's the data (Which has just been re-assigned).
Mitglieder in diesem Forum: 0 Mitglieder und 25 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.