summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/utils/texturehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavisualization/utils/texturehelper.cpp')
-rw-r--r--src/datavisualization/utils/texturehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavisualization/utils/texturehelper.cpp b/src/datavisualization/utils/texturehelper.cpp
index 185d99e4..2a2a89dd 100644
--- a/src/datavisualization/utils/texturehelper.cpp
+++ b/src/datavisualization/utils/texturehelper.cpp
@@ -41,7 +41,7 @@ GLuint TextureHelper::create2DTexture(const QImage &image, bool useTrilinearFilt
QImage texImage = image;
-#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
+#if defined(QT_OPENGL_ES_2)
GLuint temp;
GLuint imageWidth = Utils::getNearestPowerOfTwo(image.width(), temp);
GLuint imageHeight = Utils::getNearestPowerOfTwo(image.height(), temp);