Skip to main content
gamedev.net
🔒 Locked

alt+enter funcionalitty

Started by sideh 1 reply 550+ views
Original Post
sideh
sideh
hello, I''ve just added alt+enter to toggle fullscreen but I''ve run into a small problem. When fullscreen is toggled, the textures all appear white unless I reload them. Is it really necessary to reload the textures or is there another way ? i''m using sdl+opengl btw. cheers, rich
Raduprv
Raduprv
Yes, you loose your context, so you have to reload them all. It also happen when you change the resolution.
And no, there is no way around it, even ''big'' games do it...
sideh
sideh
thanks for the reply

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.