summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicscontext_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-01-21 13:08:32 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-22 14:29:17 +0000
commit31e4d157c6b0af0c04546af643707a3811583455 (patch)
tree4f5c13cfea1b61a2fb03596ac3c5785e5bbb3b7b /src/render/graphicshelpers/graphicscontext_p.h
parent58cd67f452433027e1db6271e633460ad8cf2bd8 (diff)
Renderer/Scene3D: fixes to make it work without setData
Change-Id: Iec1d3bab2e3a5a25d1cbb5129addebd83b225580 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r--src/render/graphicshelpers/graphicscontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h
index 090f05937..cf7e36e6b 100644
--- a/src/render/graphicshelpers/graphicscontext_p.h
+++ b/src/render/graphicshelpers/graphicscontext_p.h
@@ -118,6 +118,7 @@ public:
QOpenGLContext *openGLContext() { return m_gl; }
bool makeCurrent(QSurface *surface);
void doneCurrent();
+ void activateGLHelper();
void activateShader(Shader* shader);
QOpenGLShaderProgram *containsProgram(const ProgramDNA &dna);