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 453beac5cd..05aba2f83c 100644
--- a/src/gui/kernel/qsurfaceformat.h
+++ b/src/gui/kernel/qsurfaceformat.h
@@ -138,6 +138,9 @@ public:
int swapInterval() const;
void setSwapInterval(int interval);
+ static void setDefaultFormat(const QSurfaceFormat &format);
+ static QSurfaceFormat defaultFormat();
+
private:
QSurfaceFormatPrivate *d;