Removed remaining glut parts from OpenMesh QGLViewer

This commit is contained in:
Jan Möbius
2019-02-06 10:15:48 +01:00
parent 253f47f6db
commit fa92a28749
2 changed files with 17 additions and 19 deletions

View File

@@ -51,12 +51,6 @@
#include <QMenuBar>
#include <QFileDialog>
#ifdef ARCH_DARWIN
#include <glut.h>
#else
#include <GL/glut.h>
#endif
#include "MeshViewerWidget.hh"
@@ -68,9 +62,6 @@ 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!";