🔒 Locked
SDL Fullscreen
Advertisement
Original Post
If you''re using SDL_WM_ToggleFullScreen it will fail because this function is only supported on X11.
Otherwise give some more information what and how you are doiing it.
Otherwise give some more information what and how you are doiing it.
set to fullscreen at start-time, or destroy and recreate your window.
If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentia
davepermen.net
If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentia
davepermen.net
it does work, but you killed all your opengl resources, and due that, you have to reload all textures, vertexbuffers, what ever you have, and reset all states.
this is why they haven''t implemented this function in sdl. it needs work done by the users.
if you can go to fullscreen directly, you can switch from and towards it with ease. you just have to restore your opengl.
If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentia
davepermen.net
this is why they haven''t implemented this function in sdl. it needs work done by the users.
if you can go to fullscreen directly, you can switch from and towards it with ease. you just have to restore your opengl.
If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentia
davepermen.net
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement