From 2f269f5d9883aae80e05697f72318e7f624b57ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 6 Feb 2019 09:43:34 +0100 Subject: [PATCH] Removed glut stuff from DecimaterViewer --- src/OpenMesh/Apps/Decimating/decimaterviewer.cc | 10 ---------- src/OpenMesh/Tools/Utils/GLConstAsString.hh | 1 - 2 files changed, 11 deletions(-) diff --git a/src/OpenMesh/Apps/Decimating/decimaterviewer.cc b/src/OpenMesh/Apps/Decimating/decimaterviewer.cc index 4c421d6e..042f97c6 100644 --- a/src/OpenMesh/Apps/Decimating/decimaterviewer.cc +++ b/src/OpenMesh/Apps/Decimating/decimaterviewer.cc @@ -53,12 +53,6 @@ #include "DecimaterViewerWidget.hh" -#ifdef ARCH_DARWIN -#include -#else -#include -#endif - void usage_and_exit(int xcode); @@ -72,10 +66,6 @@ int main(int argc, char **argv) QApplication::setColorSpec( QApplication::CustomColor ); QApplication app(argc,argv); -#if !defined(__APPLE__) - glutInit(&argc,argv); -#endif - if ( !QGLFormat::hasOpenGL() ) { QString msg = "System has no OpenGL support!"; QMessageBox::critical( NULL, "OpenGL", msg + argv[1] ); diff --git a/src/OpenMesh/Tools/Utils/GLConstAsString.hh b/src/OpenMesh/Tools/Utils/GLConstAsString.hh index eaca4a5d..d5c0286f 100644 --- a/src/OpenMesh/Tools/Utils/GLConstAsString.hh +++ b/src/OpenMesh/Tools/Utils/GLConstAsString.hh @@ -55,7 +55,6 @@ //== INCLUDES ================================================================= #include -#include //== FORWARDDECLARATIONS ======================================================