Fixed a minor warning and a compile error

This commit is contained in:
Laurent Gomila 2011-07-06 07:49:06 +02:00
parent e120bd82fe
commit 2d705fee04
2 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,6 @@ namespace
{ {
// OpenGL resources counter and its mutex // OpenGL resources counter and its mutex
unsigned long count = 0; unsigned long count = 0;
bool initialized = false;
sf::Mutex mutex; sf::Mutex mutex;
} }

View File

@ -28,6 +28,7 @@
#include <SFML/Window/WindowImpl.hpp> #include <SFML/Window/WindowImpl.hpp>
#include <SFML/Window/Event.hpp> #include <SFML/Window/Event.hpp>
#include <SFML/Window/JoystickManager.hpp> #include <SFML/Window/JoystickManager.hpp>
#include <SFML/System/Sleep.hpp>
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>