mirror of https://github.com/microsoft/vcpkg.git
16 lines
468 B
Diff
16 lines
468 B
Diff
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cc b/intern/ghost/intern/GHOST_ContextWGL.cc
|
|
index 2b832100..2e91c5fa 100644
|
|
--- a/intern/ghost/intern/GHOST_ContextWGL.cc
|
|
+++ b/intern/ghost/intern/GHOST_ContextWGL.cc
|
|
@@ -630,7 +630,9 @@ GHOST_TSuccess GHOST_ContextWGL::initializeDrawingContext()
|
|
* Then use brute force. */
|
|
glEnable(GL_POINT_SPRITE);
|
|
}
|
|
|
|
+#ifdef WITH_OPENGL_BACKEND
|
|
initClearGL();
|
|
+#endif
|
|
::SwapBuffers(m_hDC);
|
|
|
|
#ifndef NDEBUG
|