diff options
-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); |