mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Call wglMakeCurrent before SwapBuffers in Windows context implementation
This commit is contained in:
parent
bd967138f2
commit
b3a4f563e9
3 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -156,6 +156,7 @@ void OpenGLContext::ClearCurrent()
|
|||
|
||||
void OpenGLContext::SwapBuffers()
|
||||
{
|
||||
wglMakeCurrent(dc, context);
|
||||
::SwapBuffers(dc);
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue