diff options
author | 2016-10-21 15:22:16 +0200 | |
---|---|---|
committer | 2016-10-21 15:22:16 +0200 | |
commit | c9b7a544f14212f72ea19e1af399f1ccab89f5cf (patch) | |
tree | 2168add32d34f723cb93cfa2a98a69f5b186d9bd | |
parent | e8d84b79377cfedd0c592b86e4d887584e3aae5b (diff) |
Remove QSurfaceFormat
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
-rw-r--r-- | HomeScreen/src/main.cpp | 7 |
1 files changed, 1 insertions, 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 <QApplication> #include <QSysInfo> //#include <QSharedMemory> -#include <QSurfaceFormat> 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); |