Added initialization of the shared context (fixes issue #43)
This commit is contained in:
parent
e952f945a0
commit
7498b5bc27
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue