SFML community forums

Help => General => Topic started by: Sanction on August 06, 2015, 03:59:48 pm

Title: window.clear()?[SOLVED]
Post by: Sanction on August 06, 2015, 03:59:48 pm
What I'm using: VS2013, SFML2.3

I'm learning the basics off of the website. and for some reason window.clear() method does not exists?
Is this because the tutorial is out of date?

CODE:
(click to show/hide)
Title: Re: window.clear()?
Post by: eXpl0it3r on August 06, 2015, 04:01:21 pm
You're using an sf::Window, it doesn't have a clear nor draw function, use an sf::RenderWindow instead. ;)
Title: Re: window.clear()?
Post by: Sanction on August 06, 2015, 04:03:03 pm
Woa.. that was quick! I will give that a try Thankyou! ;D