Hi,
I have a very odd problem that has just recently started occurring. When I try to create a RenderWindow variable, my program will simply hang - e.g. the last line of the code below will never execute.
std::cout << "go to here" << std::endl;
sf::RenderWindow window(sf::VideoMode(2560, 1600), "SFML window");
std::cout << "got past here" << std::endl;
Weirdly, if I restart my computer and execute this code, the RenderWindow will be successfully constructed and program execution will continue for the first few times. However, after a couple of minutes, it will start hanging on RenderWindow construction again. Any ideas as to what might be causing this?
Thanks in advance for any replies!