From 5aeafcea467ced35adca1d762d38bfbba2b59e1f Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 4 May 2016 18:37:18 +0200 Subject: compile fix for static qt with dynamic opengl Change-Id: If78f6afeeeda5ea46a2ed17c6938fa25be9802fe Reviewed-by: Sean Harmer Reviewed-by: Lars Knoll --- src/plugins/platforms/windows/qwindowseglcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows') diff --git a/src/plugins/platforms/windows/qwindowseglcontext.cpp b/src/plugins/platforms/windows/qwindowseglcontext.cpp index 42caeb1c89..a3f9f0b44b 100644 --- a/src/plugins/platforms/windows/qwindowseglcontext.cpp +++ b/src/plugins/platforms/windows/qwindowseglcontext.cpp @@ -560,7 +560,7 @@ QFunctionPointer QWindowsEGLContext::getProcAddress(const char *procName) // return a function pointer for standard GLES2 functions too. These are not // guaranteed to be queryable via eglGetProcAddress(). if (!procAddress) { -#if defined(QT_STATIC) +#if defined(QT_STATIC) && !defined(QT_OPENGL_DYNAMIC) static struct StdFunc { const char *name; void *func; -- cgit v1.2.3