Removed glut from progviewer
This commit is contained in:
@@ -53,11 +53,6 @@
|
||||
#include <QApplication>
|
||||
#include <QGLWidget>
|
||||
|
||||
#ifdef ARCH_DARWIN
|
||||
#include <glut.h>
|
||||
#else
|
||||
#include <GL/glut.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
@@ -65,8 +60,6 @@ int main(int argc, char **argv)
|
||||
QApplication::setColorSpec( QApplication::CustomColor );
|
||||
QApplication app(argc,argv);
|
||||
|
||||
glutInit(&argc,argv);
|
||||
|
||||
if ( !QGLFormat::hasOpenGL() ) {
|
||||
std::cerr << "This system has no OpenGL support.\n";
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user