From 7498b5bc275774752747a737ba0880d6381232e2 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Fri, 13 May 2011 20:48:50 +0200 Subject: [PATCH] Added initialization of the shared context (fixes issue #43) --- src/SFML/Window/GlContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SFML/Window/GlContext.cpp b/src/SFML/Window/GlContext.cpp index b1803576..fe5a59cf 100644 --- a/src/SFML/Window/GlContext.cpp +++ b/src/SFML/Window/GlContext.cpp @@ -106,6 +106,7 @@ void GlContext::GlobalInit() { // Create the shared context sharedContext = new ContextType(NULL); + sharedContext->Initialize(); // This call makes sure that: // - the shared context is inactive (it must never be)