Call wglMakeCurrent before SwapBuffers in Windows context implementation

This commit is contained in:
ZZYZX 2019-12-18 00:36:13 +02:00
parent bd967138f2
commit b3a4f563e9
3 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -156,6 +156,7 @@ void OpenGLContext::ClearCurrent()
void OpenGLContext::SwapBuffers()
{
wglMakeCurrent(dc, context);
::SwapBuffers(dc);
}