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
253f47f6
Commit
253f47f6
authored
Feb 06, 2019
by
Jan Möbius
Browse files
Removed glut from Progmesh viewer
parent
0fed7d94
Changes
2
Show whitespace changes
Inline
Side-by-side
src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc
View file @
253f47f6
...
...
@@ -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>
...
...
src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc
View file @
253f47f6
...
...
@@ -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
"
;
...
...
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