From a295bb575f19e8f0df8cb82a79149305397f374f Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Sat, 10 May 2014 21:41:26 +0930 Subject: Expose multisample settings on QOpenGLTexture Change-Id: I877f4139aed8bb03b798818a3fac00dab1523ce1 Reviewed-by: Laszlo Agocs Reviewed-by: Gunnar Sletta --- src/gui/opengl/qopengltexture.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/opengl/qopengltexture.h') diff --git a/src/gui/opengl/qopengltexture.h b/src/gui/opengl/qopengltexture.h index 0c272456f6..4587dd2f76 100644 --- a/src/gui/opengl/qopengltexture.h +++ b/src/gui/opengl/qopengltexture.h @@ -272,6 +272,10 @@ public: void setLayers(int layers); int layers() const; int faces() const; + void setSamples(int samples); + int samples() const; + void setFixedSamplePositions(bool fixed); + bool isFixedSamplePositions() const; void allocateStorage(); bool isStorageAllocated() const; -- cgit v1.2.3