SFML community forums

Help => General => Topic started by: Ricky on July 18, 2014, 05:27:03 am

Title: Making sf::RenderWindow fullscreen?
Post by: Ricky on July 18, 2014, 05:27:03 am
To my knowledge there isn't any other way to fullscreen a window but to completely destroy it and create a new one with the sf::Style::Fullscreen flag set.

Is this really the only way to do it?
Title: AW: Making sf::RenderWindow fullscreen?
Post by: eXpl0it3r on July 18, 2014, 07:25:25 am
Yes.
Title: Re: Making sf::RenderWindow fullscreen?
Post by: Hiura on July 18, 2014, 08:41:21 am
just so there is no misunderstanding:
Quote
completely destroy it and create
doesn't imply pointer/new/whatsoever.. simply using the create function.
Title: Re: Making sf::RenderWindow fullscreen?
Post by: Ricky on July 18, 2014, 04:59:59 pm
just so there is no misunderstanding:
Quote
completely destroy it and create
doesn't imply pointer/new/whatsoever.. simply using the create function.

I just learned that I could use the create function last night! No more delete/new for me :D