compile fix for static qt with dynamic opengl
Change-Id: If78f6afeeeda5ea46a2ed17c6938fa25be9802fe Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
parent
e6cb3b8c76
commit
5aeafcea46
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user