glTexImage not working if window is iconified

joemue2 wrote on Monday, June 01, 2009:

Hi!
If i use glTexImage2D when the window is iconified, no texture data is set. The texture stays black, although OpenGL does not set an error code.
If i create my own opengl context and do not use GLFW, it works perfect. Tried SDL also - no problem there.
So there is something GLFW seems to make wrong. Can someone figure out?
Regards,
Joe

bmateusz wrote on Monday, June 01, 2009:

No problems at me with iconified windows and texture loading. Of course there can be a bug, which doesn’t appear on my computer.
Do you load the textures after glfwInit() and glfwOpenWindow() ? Did you glEnable(GL_TEXTURE_2D) ?