[SDL] Dynamically changing video mode flags

Marcelo Ricardo Leitner mrl at matrix.com.br
Wed Aug 22 20:08:01 PDT 2001


On Wed, Aug 22, 2001 at 02:26:17PM -0700, Samuel Hart wrote:
> I have figured out a way to do this, I change the flags member of the screen 
> surface's struct:
> 
>  screen->flags |= ~SDL_NOFRAME;
> 
> Actually, this is the obvious way of doing it, but I have been avoiding 
> trying it because the SDL docs say that this member is *read only*.
> 
> Can anyone give me a reason why I /shouldn't/ do this? (What problems it may 
> cause? If none, then I'll just do this....)
I guess that if you disable something it will not be terminated at SDL_Quit(),
the same for enabling, right?
---end quoted text---

-- 
Marcelo R Leitner <mrl at matrix.com.br>
ICQ #: 29966851




More information about the SDL mailing list