Removed glut from Progmesh viewer

This commit is contained in:
Jan Möbius
2019-02-06 09:47:46 +01:00
parent 0fed7d9449
commit 253f47f6db
2 changed files with 0 additions and 16 deletions

View File

@@ -62,13 +62,6 @@
#include <QFileDialog> #include <QFileDialog>
#include <QDataStream> #include <QDataStream>
#ifdef ARCH_DARWIN
#include <glut.h>
#else
#include <GL/glut.h>
#endif
#include <OpenMesh/Core/IO/MeshIO.hh> #include <OpenMesh/Core/IO/MeshIO.hh>
#include <OpenMesh/Core/IO/BinaryHelper.hh> #include <OpenMesh/Core/IO/BinaryHelper.hh>
#include <OpenMesh/Core/Utils/Endian.hh> #include <OpenMesh/Core/Utils/Endian.hh>

View File

@@ -52,21 +52,12 @@
#include "VDPMSynthesizerViewerWidget.hh" #include "VDPMSynthesizerViewerWidget.hh"
#ifdef ARCH_DARWIN
#include <glut.h>
#else
#include <GL/glut.h>
#endif
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// OpenGL check // OpenGL check
QApplication::setColorSpec( QApplication::CustomColor ); QApplication::setColorSpec( QApplication::CustomColor );
QApplication app(argc,argv); QApplication app(argc,argv);
#if !defined(__APPLE__)
glutInit(&argc,argv);
#endif
if ( !QGLFormat::hasOpenGL() ) { if ( !QGLFormat::hasOpenGL() ) {
std::cerr << "This system has no OpenGL support.\n"; std::cerr << "This system has no OpenGL support.\n";