summaryrefslogtreecommitdiffstats
path: root/examples/opengl/paintedwindow/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/paintedwindow/main.cpp')
-rw-r--r--examples/opengl/paintedwindow/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/opengl/paintedwindow/main.cpp b/examples/opengl/paintedwindow/main.cpp
index c77cf41f0f..345cea7bc5 100644
--- a/examples/opengl/paintedwindow/main.cpp
+++ b/examples/opengl/paintedwindow/main.cpp
@@ -12,10 +12,6 @@ int main(int argc, char **argv)
QRect screenGeometry = screen->availableGeometry();
- QSurfaceFormat format;
- format.setDepthBufferSize(16);
- format.setSamples(4);
-
QPoint center = screenGeometry.center();
QRect windowRect(0, 0, 640, 480);