From 0fed7d944993513f9163d912cf71c3c7aef7d112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 6 Feb 2019 09:45:32 +0100 Subject: [PATCH] Removed glut from subdivider viewer --- src/OpenMesh/Apps/Subdivider/qtsubdivider.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/OpenMesh/Apps/Subdivider/qtsubdivider.cc b/src/OpenMesh/Apps/Subdivider/qtsubdivider.cc index f34cf407..fae98b26 100644 --- a/src/OpenMesh/Apps/Subdivider/qtsubdivider.cc +++ b/src/OpenMesh/Apps/Subdivider/qtsubdivider.cc @@ -52,22 +52,12 @@ #include #include "SubdivideWidget.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() ) { QString msg = "System has no OpenGL support!"; QMessageBox::critical( NULL, "OpenGL", msg + argv[1], QMessageBox::Ok ); -- GitLab