Fixed compile error in GlContext.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1810 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
a94ed51702
commit
ccc2a050ed
@ -60,13 +60,13 @@
|
||||
namespace
|
||||
{
|
||||
// This per-thread variable holds the current context for each thread
|
||||
sf::ThreadLocalPtr<sf::priv::GlContext> currentContext = NULL;
|
||||
sf::ThreadLocalPtr<sf::priv::GlContext> currentContext(NULL);
|
||||
|
||||
// The hidden, inactive context that will be shared with all other contexts
|
||||
ContextType* sharedContext = NULL;
|
||||
|
||||
// Internal contexts
|
||||
sf::ThreadLocalPtr<sf::priv::GlContext> internalContext = NULL;
|
||||
sf::ThreadLocalPtr<sf::priv::GlContext> internalContext(NULL);
|
||||
std::vector<sf::priv::GlContext*> internalContexts;
|
||||
sf::Mutex internalContextsMutex;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user