Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ne

Pages: [1]
1
General discussions / How much memory take a simple sfml app
« on: February 01, 2014, 12:29:19 am »
This simple app
 #include <SFML/Graphics.hpp>
int main()
{

        sf::RenderWindow window{sf::VideoMode::getDesktopMode(), "SFML window"};
        window.setFramerateLimit(60);
       

        while (window.isOpen())
        {
           sf::Event event;
           
           while (window.pollEvent(event))
           {
               if (event.type == sf::Event::Closed)
                   window.close();
           }
           
           window.clear();
           window.display();
        }
       
        return 0;
}
takes 25MiB.
Is this normal?

Pages: [1]