From c9b7a544f14212f72ea19e1af399f1ccab89f5cf Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Fri, 21 Oct 2016 15:22:16 +0200 Subject: [PATCH] Remove QSurfaceFormat Signed-off-by: Bocklage, Jens --- HomeScreen/src/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/HomeScreen/src/main.cpp b/HomeScreen/src/main.cpp index 2701d34..49f3b95 100644 --- a/HomeScreen/src/main.cpp +++ b/HomeScreen/src/main.cpp @@ -18,7 +18,6 @@ #include #include //#include -#include int main(int argc, char *argv[]) { @@ -39,14 +38,10 @@ int main(int argc, char *argv[]) QCoreApplication::setApplicationName("HomeScreen"); QCoreApplication::setApplicationVersion("0.3.3"); - QSurfaceFormat format; - format.setDepthBufferSize(16); - format.setStencilBufferSize(8); - MainWindow w; w.show(); #ifdef __arm__ - // trigger wayland compositor to position the surface correctly + // the WindowManager positions the surface correctly #endif #ifdef __i386__ w.move(0, 0); -- 2.16.6