Removed glut stuff from DecimaterViewer
This commit is contained in:
@@ -53,12 +53,6 @@
|
|||||||
|
|
||||||
#include "DecimaterViewerWidget.hh"
|
#include "DecimaterViewerWidget.hh"
|
||||||
|
|
||||||
#ifdef ARCH_DARWIN
|
|
||||||
#include <glut.h>
|
|
||||||
#else
|
|
||||||
#include <GL/glut.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void usage_and_exit(int xcode);
|
void usage_and_exit(int xcode);
|
||||||
|
|
||||||
|
|
||||||
@@ -72,10 +66,6 @@ int main(int argc, char **argv)
|
|||||||
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() ) {
|
||||||
QString msg = "System has no OpenGL support!";
|
QString msg = "System has no OpenGL support!";
|
||||||
QMessageBox::critical( NULL, "OpenGL", msg + argv[1] );
|
QMessageBox::critical( NULL, "OpenGL", msg + argv[1] );
|
||||||
|
|||||||
@@ -55,7 +55,6 @@
|
|||||||
//== INCLUDES =================================================================
|
//== INCLUDES =================================================================
|
||||||
|
|
||||||
#include <OpenMesh/Core/System/config.h>
|
#include <OpenMesh/Core/System/config.h>
|
||||||
#include <GL/glut.h>
|
|
||||||
|
|
||||||
|
|
||||||
//== FORWARDDECLARATIONS ======================================================
|
//== FORWARDDECLARATIONS ======================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user