diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-04-22 15:35:26 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-04-22 15:41:48 (GMT) |
commit | 0df382c78aeaf74c161d753f04ae9a13e951c0a1 (patch) | |
tree | 765b6c9991840e364eb1f11a1a78c840c4fd53cc /src/opengl | |
parent | aa295fbfdae1a687bc7bd9f7f364721a35566828 (diff) | |
download | Qt-0df382c78aeaf74c161d753f04ae9a13e951c0a1.zip Qt-0df382c78aeaf74c161d753f04ae9a13e951c0a1.tar.gz Qt-0df382c78aeaf74c161d753f04ae9a13e951c0a1.tar.bz2 |
Make optimiseForBrushTransform take a QTransform reference
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/gl2paintengineex/qglengineshadermanager.cpp | 2 | ||||
-rw-r--r-- | src/opengl/gl2paintengineex/qglengineshadermanager_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp index a4d8b77..6e702e5 100644 --- a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp +++ b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp @@ -169,7 +169,7 @@ QGLEngineShaderManager::~QGLEngineShaderManager() -void QGLEngineShaderManager::optimiseForBrushTransform(const QTransform transform) +void QGLEngineShaderManager::optimiseForBrushTransform(const QTransform &transform) { Q_UNUSED(transform); // Currently ignored } diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h index dec8f56..d3856fe 100644 --- a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h +++ b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h @@ -271,7 +271,7 @@ public: // There are optimisations we can do, depending on the brush transform: // 1) May not have to apply perspective-correction // 2) Can use lower precision for matrix - void optimiseForBrushTransform(const QTransform transform); + void optimiseForBrushTransform(const QTransform &transform); void setSrcPixelType(Qt::BrushStyle); void setSrcPixelType(PixelSrcType); // For non-brush sources, like pixmaps & images void setTextureCoordsEnabled(bool); // For images & text glyphs |