diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-02-05 11:16:45 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-02-05 11:21:48 +0200 |
commit | 83611a966a77e5962adfcebe75f5aca49fc5971e (patch) | |
tree | e4e19ad728bb1f853ba08a9723d9c780e4b74a6c /src/datavisualization/utils | |
parent | 79f3a4d7aa2fcbdc5df133ede88a367aa5870bd3 (diff) |
Fix slice update for bars, too.
Also revert the incorrect change to surface slice update.
Change-Id: If08d5848e5b216f4f6b82e39727eeb7facd463ca
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/utils')
-rw-r--r-- | src/datavisualization/utils/texturehelper.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/datavisualization/utils/texturehelper.cpp b/src/datavisualization/utils/texturehelper.cpp index b5079f1b..91d70946 100644 --- a/src/datavisualization/utils/texturehelper.cpp +++ b/src/datavisualization/utils/texturehelper.cpp @@ -22,8 +22,6 @@ #include <QImage> #include <QPainter> -#include <QDebug> - QT_BEGIN_NAMESPACE_DATAVISUALIZATION TextureHelper::TextureHelper() @@ -45,7 +43,6 @@ GLuint TextureHelper::create2DTexture(const QImage &image, bool useTrilinearFilt #if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) GLuint temp; - //qDebug() << "old size" << image.size(); GLuint imageWidth = Utils::getNearestPowerOfTwo(image.width(), temp); GLuint imageHeight = Utils::getNearestPowerOfTwo(image.height(), temp); if (smoothScale) { @@ -54,7 +51,6 @@ GLuint TextureHelper::create2DTexture(const QImage &image, bool useTrilinearFilt } else { texImage = image.scaled(imageWidth, imageHeight, Qt::IgnoreAspectRatio); } - //qDebug() << "new size" << texImage.size(); #endif GLuint textureId; |