summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/utils/texturehelper_p.h
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@digia.com>2013-08-07 11:50:21 +0300
committerMika Salmela <mika.salmela@digia.com>2013-08-07 12:03:21 +0300
commitb1ebb645452189be5df1a3d86f36c789051406c5 (patch)
tree9a7d21fb5ee2c3323bcaf63a903bec30036a2432 /src/datavis3d/utils/texturehelper_p.h
parentb2ad88e33a93a491250443b200dbba22b3870782 (diff)
Detects what point the user has clicked.
Change-Id: I53cbba795776becab00076daead66ef2f2f3194b Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavis3d/utils/texturehelper_p.h')
-rw-r--r--src/datavis3d/utils/texturehelper_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datavis3d/utils/texturehelper_p.h b/src/datavis3d/utils/texturehelper_p.h
index accc40a0..d5924530 100644
--- a/src/datavis3d/utils/texturehelper_p.h
+++ b/src/datavis3d/utils/texturehelper_p.h
@@ -67,6 +67,7 @@ class TextureHelper : protected QOpenGLFunctions
// Ownership of created texture is transferred to caller
GLuint create2DTexture(const QImage &image, bool useTrilinearFiltering = false,
bool convert = true);
+ GLuint create2DTexture(const uchar *image, int width, int height);
GLuint createCubeMapTexture(const QImage &image, bool useTrilinearFiltering = false);
// Returns selection framebuffer and inserts generated texture id to texture parameters
GLuint createSelectionBuffer(const QSize &size, GLuint &texture, GLuint &depthTexture);