Skip to content

Commit

Permalink
compile fix for static qt with dynamic opengl
Browse files Browse the repository at this point in the history
Change-Id: If78f6afeeeda5ea46a2ed17c6938fa25be9802fe
Reviewed-by: Sean Harmer <[email protected]>
Reviewed-by: Lars Knoll <[email protected]>
  • Loading branch information
timblechmann authored and seanharmer committed May 6, 2016
1 parent e6cb3b8 commit 5aeafce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/platforms/windows/qwindowseglcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5aeafce

Please sign in to comment.