1
Window / Re: sf::window does not contain a "draw()" function; cannot draw sprites. SFML 2.0
« on: February 14, 2013, 05:01:36 pm »Quote
As in SFML 1.6, you must use a sf::RenderWindow, not a sf::Window.
Thanks, I didn't know that you had to use sf::RenderWindow.
Quote
And how would you've deduced this? Did you're "intelligent" part of your IDE "tell" you this?
I am using VS2010 and it said the window.draw() didn't exist even when I tried to compile it, it ends up I had to use sf::RenderWindow instead of sf::Window. I didn't realize that
Thanks for the help.