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 ======================================================