From ccc2a050ed2dd0ccf706162b52a3e5c88d0add50 Mon Sep 17 00:00:00 2001 From: laurentgom Date: Mon, 21 Mar 2011 08:45:46 +0000 Subject: [PATCH] Fixed compile error in GlContext.cpp git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1810 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/GlContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SFML/Window/GlContext.cpp b/src/SFML/Window/GlContext.cpp index 8b7af3ab..9fdf0264 100644 --- a/src/SFML/Window/GlContext.cpp +++ b/src/SFML/Window/GlContext.cpp @@ -60,13 +60,13 @@ namespace { // This per-thread variable holds the current context for each thread - sf::ThreadLocalPtr currentContext = NULL; + sf::ThreadLocalPtr currentContext(NULL); // The hidden, inactive context that will be shared with all other contexts ContextType* sharedContext = NULL; // Internal contexts - sf::ThreadLocalPtr internalContext = NULL; + sf::ThreadLocalPtr internalContext(NULL); std::vector internalContexts; sf::Mutex internalContextsMutex;