Has anyone run into an issue where running the basic window setup in SFML renders a window with smaller size than what was actually passed as argument. I am not sure what the issue is:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(500, 500), "SFML works!");
sf::Event event;
while(window.isOpen()) {
while(window.pollEvent(event)) {
if(event.type == sf::Event::Closed)
window.close();
}
}
return 0;
}
I am running my code on mac os. Here is the result that I get - that looks a lot smaller than 500 x 500.
