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.cpp4
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;