Removed glut from Progmesh viewer
This commit is contained in:
@@ -62,13 +62,6 @@
|
||||
#include <QFileDialog>
|
||||
#include <QDataStream>
|
||||
|
||||
#ifdef ARCH_DARWIN
|
||||
#include <glut.h>
|
||||
#else
|
||||
#include <GL/glut.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include <OpenMesh/Core/IO/MeshIO.hh>
|
||||
#include <OpenMesh/Core/IO/BinaryHelper.hh>
|
||||
#include <OpenMesh/Core/Utils/Endian.hh>
|
||||
|
||||
@@ -52,21 +52,12 @@
|
||||
|
||||
#include "VDPMSynthesizerViewerWidget.hh"
|
||||
|
||||
#ifdef ARCH_DARWIN
|
||||
#include <glut.h>
|
||||
#else
|
||||
#include <GL/glut.h>
|
||||
#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() ) {
|
||||
std::cerr << "This system has no OpenGL support.\n";
|
||||
|
||||
Reference in New Issue
Block a user