16
Window / Re: sf::Window+the create function=errors?
« on: May 20, 2013, 09:42:03 pm »
Thanks for telling me how to use my window in the draw function. I should've known how to do that.
But the part about the ContextSettings you wrote gives me an error.
I write this in the beginning of my main function:
And it spits out this:
But the part about the ContextSettings you wrote gives me an error.
I write this in the beginning of my main function:
sf::ContextSettings contextsettings(0, 0, 4, 2, 0);
sf::RenderWindow window(sf::VideoMode(200, 200), "Randum stuffz", &contextsettings);
sf::RenderWindow window(sf::VideoMode(200, 200), "Randum stuffz", &contextsettings);
And it spits out this:
Quote
error: invalid conversion from 'sf::ContextSettings*' to 'sf::Uint32 {aka unsigned int}' [-fpermissive]|