Added initialization of the shared context (fixes issue #43)
This commit is contained in:
parent
e952f945a0
commit
7498b5bc27
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user