SFML community forums

Help => Graphics => Topic started by: Putarda on September 19, 2016, 10:04:22 pm

Title: RenderWindow->create no instance of overloaded function
Post by: Putarda on September 19, 2016, 10:04:22 pm
My code is not working...why?

sf::RenderWindow* window = game->getWindow();

window->/*error*/create(sf::VideoMode(1600, 800), game->getName(), sf::Style::Default, window_settings);

error: no instance of overloaded function "sf::RenderWindow::create" matches the argument list
Title: Re: RenderWindow->create no instance of overloaded function
Post by: Mario on September 20, 2016, 03:12:59 pm
You're not showing enough code to properly tell.

There should also be more to that error message. It should tell you what you tried to use and what's availalbe as candidates.