diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-11-07 14:57:48 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-11-08 09:09:22 +0200 |
commit | 1dca7a61130615da20f8c7205abd62db721e61d0 (patch) | |
tree | 476db607495d38fc986157e2715a79e23487a3a6 /src/datavisualization/utils/texturehelper_p.h | |
parent | 6c3a413f65fe69cc525599ca183a66976ce0eaa7 (diff) |
Gradient support part 2
Scatter gradients.
Task-number: QTRD-2200
Change-Id: Ia6ac271440d0d26b7cae9332ef2ba4e7bf1a11fe
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/utils/texturehelper_p.h')
-rw-r--r-- | src/datavisualization/utils/texturehelper_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavisualization/utils/texturehelper_p.h b/src/datavisualization/utils/texturehelper_p.h index b2657083..97bd9e3d 100644 --- a/src/datavisualization/utils/texturehelper_p.h +++ b/src/datavisualization/utils/texturehelper_p.h @@ -44,7 +44,7 @@ class TextureHelper : protected QOpenGLFunctions // Ownership of created texture is transferred to caller GLuint create2DTexture(const QImage &image, bool useTrilinearFiltering = false, - bool convert = true, bool smoothScale = true); + bool convert = true, bool smoothScale = true, bool clampY = false); GLuint createCubeMapTexture(const QImage &image, bool useTrilinearFiltering = false); // Returns selection texture and inserts generated framebuffers to framebuffer parameters GLuint createSelectionTexture(const QSize &size, GLuint &frameBuffer, GLuint &depthBuffer); |