From 253f47f6dbbcb17fd558b6ad1e2f2f31c566e274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 6 Feb 2019 09:47:46 +0100 Subject: [PATCH] Removed glut from Progmesh viewer --- .../Synthesizer/VDPMSynthesizerViewerWidget.cc | 7 ------- .../Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc | 9 --------- 2 files changed, 16 deletions(-) diff --git a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc index 55f3b256..2c6d28d4 100644 --- a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc +++ b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc @@ -62,13 +62,6 @@ #include #include -#ifdef ARCH_DARWIN - #include -#else - #include -#endif - - #include #include #include diff --git a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc index 3e077eac..d4c11fcd 100644 --- a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc +++ b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc @@ -52,21 +52,12 @@ #include "VDPMSynthesizerViewerWidget.hh" -#ifdef ARCH_DARWIN - #include -#else - #include -#endif - int main(int argc, char **argv) { // OpenGL check QApplication::setColorSpec( QApplication::CustomColor ); QApplication app(argc,argv); -#if !defined(__APPLE__) - glutInit(&argc,argv); -#endif if ( !QGLFormat::hasOpenGL() ) { std::cerr << "This system has no OpenGL support.\n";