From 2d705fee04ee5e16b351c69805ef47bb1cdda431 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 6 Jul 2011 07:49:06 +0200 Subject: [PATCH] Fixed a minor warning and a compile error --- src/SFML/Window/GlResource.cpp | 1 - src/SFML/Window/WindowImpl.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/GlResource.cpp b/src/SFML/Window/GlResource.cpp index a0fa41aa4..c3f263845 100644 --- a/src/SFML/Window/GlResource.cpp +++ b/src/SFML/Window/GlResource.cpp @@ -38,7 +38,6 @@ namespace { // OpenGL resources counter and its mutex unsigned long count = 0; - bool initialized = false; sf::Mutex mutex; } diff --git a/src/SFML/Window/WindowImpl.cpp b/src/SFML/Window/WindowImpl.cpp index 51f73b33f..9e863e2f1 100644 --- a/src/SFML/Window/WindowImpl.cpp +++ b/src/SFML/Window/WindowImpl.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include