diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-01-27 06:50:42 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-01-27 06:54:05 +0200 |
commit | 86cc8bfa76061adfa29b48f80b426c6198de6a53 (patch) | |
tree | d1c20d51da117ddd0bb8b1bc3506abac92c70872 /src/datavisualization/utils/texturehelper.cpp | |
parent | 289584f6e4434577abea050855fb59ef84417070 (diff) |
iOS fixes
+ texture power-of-two added
+ input handling changes
- surface crashes, will be fixed in separate commit
Task-number: QTRD-2802
Change-Id: I1913aec60c4e986b02f307d832dc55dea0be4348
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/utils/texturehelper.cpp')
-rw-r--r-- | src/datavisualization/utils/texturehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavisualization/utils/texturehelper.cpp b/src/datavisualization/utils/texturehelper.cpp index 6498fce4..df7ff0c1 100644 --- a/src/datavisualization/utils/texturehelper.cpp +++ b/src/datavisualization/utils/texturehelper.cpp @@ -43,7 +43,7 @@ GLuint TextureHelper::create2DTexture(const QImage &image, bool useTrilinearFilt QImage texImage = image; -#if defined(Q_OS_ANDROID) +#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) GLuint temp; //qDebug() << "old size" << image.size(); GLuint imageWidth = Utils::getNearestPowerOfTwo(image.width(), temp); |