So I just updated my graphics drivers (ATi 5770, 64 bit Win 7) and my project hasn't been working since. Here is minimal code:
#include <SFML/Graphics.hpp>
#include <iostream>
int main(){
sf::Event events;
sf::RenderWindow App(sf::VideoMode(640, 800, 32), "test");
while(App.IsOpened()){
while (App.GetEvent(events)){
if(events.Type == sf::Event::KeyPressed){
if (events.Key.Code == sf::Key::A) std::cout << "sssSSSsss";
else if (events.Key.Code == sf::Key::Escape) App.Close();
}
}
App.Display();
}
return 0;
}
It compiles, but it doesn't create a renderwindow. SFML 2 by the way.