Removed remaining glut parts from OpenMesh QGLViewer
This commit is contained in:
@@ -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!";
|
||||
|
||||
Reference in New Issue
Block a user