summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qsurfaceformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qsurfaceformat.h')
-rw-r--r--src/gui/kernel/qsurfaceformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qsurfaceformat.h b/src/gui/kernel/qsurfaceformat.h
index d182aa9f13..453beac5cd 100644
--- a/src/gui/kernel/qsurfaceformat.h
+++ b/src/gui/kernel/qsurfaceformat.h
@@ -135,6 +135,9 @@ public:
bool testOption(FormatOption option) const;
QSurfaceFormat::FormatOptions options() const;
+ int swapInterval() const;
+ void setSwapInterval(int interval);
+
private:
QSurfaceFormatPrivate *d;