1
General discussions / Current port status?
« on: September 20, 2010, 03:12:39 pm »
Hope that come soon.
Thanks.
Thanks.
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.
int main()
{
// Create the main rendering window
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
sf::SoundBuffer mySound;
// Start game loop
while (App.IsOpened())
{
// Process events
sf::Event Event;
while (App.GetEvent(Event))
{
// Close window : exit
if (Event.Type == sf::Event::Closed)
App.Close();
}
// Clear the screen (fill it with black color)
App.Clear();
// Display window contents on screen
App.Display();
}
return EXIT_SUCCESS;
}