summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltextureblitter_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopengltextureblitter_p.h')
-rw-r--r--src/gui/opengl/qopengltextureblitter_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltextureblitter_p.h b/src/gui/opengl/qopengltextureblitter_p.h
index 8f7eae1c32..ebf3a4bfbb 100644
--- a/src/gui/opengl/qopengltextureblitter_p.h
+++ b/src/gui/opengl/qopengltextureblitter_p.h
@@ -68,7 +68,9 @@ public:
bool isCreated() const;
void destroy();
- void bind();
+ bool supportsExternalOESTarget() const;
+
+ void bind(GLenum target = GL_TEXTURE_2D);
void release();
void setSwizzleRB(bool swizzle);