mirror of https://github.com/buggins/dlangui.git
Fix some OpenGL context problems
This commit is contained in:
parent
c85118e2cc
commit
2915bece47
|
@ -477,7 +477,6 @@ class Win32Window : Window {
|
|||
|
||||
hDC = GetDC(_hwnd);
|
||||
useOpengl = sharedGLContext.reinit(hDC, platform.multisamples);
|
||||
}
|
||||
|
||||
if(!sharedGLContext.createCoreRC(hDC))
|
||||
{
|
||||
|
@ -486,6 +485,7 @@ class Win32Window : Window {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sharedGLContext.initGLBindings(hDC);
|
||||
isInitialized = true;
|
||||
|
|
Loading…
Reference in New Issue