1
General discussions / Re: Game lifecycle - Best practice for drawing?
« on: July 22, 2012, 01:37:17 pm »
Thank your very much!
This was quite helpful
This was quite helpful
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.
sfml-graphics-d-2.dll : fatal error LNK1107: Invalid or corrupted File: Read at 0x2E0 not possible.
#include <SFML/Graphics.hpp>
int main()
{
// Create the main rendering window
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
// Start game loop
while (App.IsOpened())
{
// Clear the screen (fill it with black color)
App.Clear();
// Display window contents on screen
App.Display();
}
return EXIT_SUCCESS;
}