diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-03-11 08:16:37 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-01 14:32:56 (GMT) |
commit | 56fc9b853f8d19999c81ed13a9f2fcd0e95241e2 (patch) | |
tree | 36d7460160fe6c453ccfffaef1ea723a657d9942 /src/opengl/gl2paintengineex | |
parent | 4feeae36f1dc18795646e648f9987795706d21f9 (diff) | |
download | Qt-56fc9b853f8d19999c81ed13a9f2fcd0e95241e2.zip Qt-56fc9b853f8d19999c81ed13a9f2fcd0e95241e2.tar.gz Qt-56fc9b853f8d19999c81ed13a9f2fcd0e95241e2.tar.bz2 |
Fixes: Respect the SmoothPixmapTransform render hint in the GL2 paint engine.
RevBy: Tom
Diffstat (limited to 'src/opengl/gl2paintengineex')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index 6e24bdc..dbf18b1 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -515,7 +515,7 @@ static inline void setCoords(GLfloat *coords, const QGLRect &rect) void QGL2PaintEngineExPrivate::drawTexture(const QGLRect& dest, const QGLRect& src, const QSize &textureSize) { // qDebug("QGL2PaintEngineExPrivate::drawImage()"); - updateTextureFilter(GL_TEXTURE_2D, GL_REPEAT, false); + updateTextureFilter(GL_TEXTURE_2D, GL_REPEAT, q->state()->renderHints & QPainter::SmoothPixmapTransform); if (compositionModeDirty) updateCompositionMode(); |