aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/context2d/qquickcontext2dtexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/context2d/qquickcontext2dtexture.cpp')
-rw-r--r--src/quick/items/context2d/qquickcontext2dtexture.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quick/items/context2d/qquickcontext2dtexture.cpp b/src/quick/items/context2d/qquickcontext2dtexture.cpp
index 6136feb4ea..a8bf14ba9f 100644
--- a/src/quick/items/context2d/qquickcontext2dtexture.cpp
+++ b/src/quick/items/context2d/qquickcontext2dtexture.cpp
@@ -54,11 +54,12 @@
#include <QtGui/QGuiApplication>
QT_BEGIN_NAMESPACE
-#if QT_CONFIG(opengl)
-#define QT_MINIMUM_FBO_SIZE 64
Q_LOGGING_CATEGORY(lcCanvas, "qt.quick.canvas")
+#if QT_CONFIG(opengl)
+#define QT_MINIMUM_FBO_SIZE 64
+
static inline int qt_next_power_of_two(int v)
{
v--;