summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r--src/opengl/qglpixelbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h
index 58cd470d3d..f597a48695 100644
--- a/src/opengl/qglpixelbuffer.h
+++ b/src/opengl/qglpixelbuffer.h
@@ -66,6 +66,8 @@ public:
bool makeCurrent();
bool doneCurrent();
+ QGLContext *context() const;
+
GLuint generateDynamicTexture() const;
bool bindToDynamicTexture(GLuint texture);
void releaseFromDynamicTexture();