Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
OpenMesh
Commits
0fed7d94
Commit
0fed7d94
authored
Feb 06, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed glut from subdivider viewer
parent
d7389835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
src/OpenMesh/Apps/Subdivider/qtsubdivider.cc
src/OpenMesh/Apps/Subdivider/qtsubdivider.cc
+0
-10
No files found.
src/OpenMesh/Apps/Subdivider/qtsubdivider.cc
View file @
0fed7d94
...
@@ -52,22 +52,12 @@
...
@@ -52,22 +52,12 @@
#include <QMessageBox>
#include <QMessageBox>
#include "SubdivideWidget.hh"
#include "SubdivideWidget.hh"
#ifdef ARCH_DARWIN
#include <glut.h>
#else
#include <GL/glut.h>
#endif
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
// OpenGL check
// OpenGL check
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
::
Ok
);
QMessageBox
::
critical
(
NULL
,
"OpenGL"
,
msg
+
argv
[
1
],
QMessageBox
::
Ok
);
...
...
Write
Preview
Markdown
is supported
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