Added initialization of the shared context (fixes issue #43)

This commit is contained in:
Laurent Gomila 2011-05-13 20:48:50 +02:00
parent e952f945a0
commit 7498b5bc27

View File

@ -106,6 +106,7 @@ void GlContext::GlobalInit()
{ {
// Create the shared context // Create the shared context
sharedContext = new ContextType(NULL); sharedContext = new ContextType(NULL);
sharedContext->Initialize();
// This call makes sure that: // This call makes sure that:
// - the shared context is inactive (it must never be) // - the shared context is inactive (it must never be)