Windows QPA: Include GL header depending on presence of dynamic GL

Amends change 7780ee9e5f.

Task-number: QTBUG-58178
Change-Id: I0b6e064dfdbdafb7fba9c20c56cfd873fa594c44
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Friedemann Kleint 2017-02-09 08:40:50 +01:00
parent e3e2bc2109
commit e8a2a9bf30

View File

@ -43,7 +43,11 @@
#include "qwindowsscreen.h"
#include "qwindowsintegration.h"
#include "qwindowsnativeinterface.h"
#include "qwindowsglcontext.h"
#if QT_CONFIG(dynamicgl)
# include "qwindowsglcontext.h"
#else
# include "qwindowsopenglcontext.h"
#endif
#ifdef QT_NO_CURSOR
# include "qwindowscursor.h"
#endif