Win32: fix build with -DOPENGL=1.

pull/441/head
ruevs 2019-05-29 18:06:25 +03:00 committed by whitequark
parent 6352405206
commit 9ac55f392a
1 changed files with 2 additions and 0 deletions

View File

@ -1369,7 +1369,9 @@ public:
} }
}; };
#if HAVE_OPENGL == 3
EGLDisplay WindowImplWin32::eglDisplay = EGL_NO_DISPLAY; EGLDisplay WindowImplWin32::eglDisplay = EGL_NO_DISPLAY;
#endif
WindowRef CreateWindow(Window::Kind kind, WindowRef parentWindow) { WindowRef CreateWindow(Window::Kind kind, WindowRef parentWindow) {
return std::make_shared<WindowImplWin32>(kind, return std::make_shared<WindowImplWin32>(kind,