From: Bocklage, Jens Date: Fri, 21 Oct 2016 13:22:16 +0000 (+0200) Subject: Remove QSurfaceFormat X-Git-Tag: v0.4.0~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=commitdiff_plain;h=c9b7a544f14212f72ea19e1af399f1ccab89f5cf Remove QSurfaceFormat Signed-off-by: Bocklage, Jens --- 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);