Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
d7389835
Commit
d7389835
authored
Feb 06, 2019
by
Jan Möbius
Browse files
Removed glut from progviewer
parent
2f269f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Apps/ProgViewer/progviewer.cc
View file @
d7389835
...
@@ -53,11 +53,6 @@
...
@@ -53,11 +53,6 @@
#include
<QApplication>
#include
<QApplication>
#include
<QGLWidget>
#include
<QGLWidget>
#ifdef ARCH_DARWIN
#include
<glut.h>
#else
#include
<GL/glut.h>
#endif
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
...
@@ -65,8 +60,6 @@ int main(int argc, char **argv)
...
@@ -65,8 +60,6 @@ int main(int argc, char **argv)
QApplication
::
setColorSpec
(
QApplication
::
CustomColor
);
QApplication
::
setColorSpec
(
QApplication
::
CustomColor
);
QApplication
app
(
argc
,
argv
);
QApplication
app
(
argc
,
argv
);
glutInit
(
&
argc
,
argv
);
if
(
!
QGLFormat
::
hasOpenGL
()
)
{
if
(
!
QGLFormat
::
hasOpenGL
()
)
{
std
::
cerr
<<
"This system has no OpenGL support.
\n
"
;
std
::
cerr
<<
"This system has no OpenGL support.
\n
"
;
return
-
1
;
return
-
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment