Moved glew.h inclusion under guards to avoid qt conflicts

This commit is contained in:
Paolo Cignoni 2017-06-13 11:30:19 +02:00
parent 5f27854447
commit e50ab31091
2 changed files with 10 additions and 0 deletions

View File

@ -21,7 +21,12 @@
* *
****************************************************************************/
#ifdef QT_OPENGL_LIB
#include <QtOpenGL/qgl.h>
#else
#include <GL/glew.h>
#endif
#include "trackball.h"
#include<set>

View File

@ -21,7 +21,12 @@
* *
****************************************************************************/
#ifdef QT_OPENGL_LIB
#include <QtOpenGL/qgl.h>
#else
#include <GL/glew.h>
#endif
#include <vcg/space/distance3.h>
#include <wrap/gui/trackmode.h>
#include <wrap/gui/trackball.h>