QWidgetBackingStore: Fix build with QT_NO_OPENGL

A define moved out of the #ifndef QT_NO_OPENGL scope.

Change-Id: I41c943b97f165b5171581e01f3a4b2d3fb25747e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
bb10
Andy Nichols 2016-07-11 09:18:33 +02:00
parent cba3378732
commit 2e176e3d10
1 changed files with 2 additions and 0 deletions

View File

@ -67,7 +67,9 @@ QT_BEGIN_NAMESPACE
extern QRegion qt_dirtyRegion(QWidget *);
#ifndef QT_NO_OPENGL
Q_GLOBAL_STATIC(QPlatformTextureList, qt_dummy_platformTextureList)
#endif
/**
* Flushes the contents of the \a backingStore into the screen area of \a widget.