Qt5OpenGL: replace gluOrtho2D for macOS, move includes of GL stuff from header to source

This commit is contained in:
wmayer
2017-03-24 10:28:57 +01:00
parent 69a030d83b
commit ac7b0fa2d8
3 changed files with 15 additions and 10 deletions

View File

@@ -64,6 +64,15 @@
#include <Inventor/events/SoLocation2Event.h>
#include <Inventor/SoPickedPoint.h>
#ifdef FC_OS_MACOSX
# include <OpenGL/gl.h>
#else
# ifdef FC_OS_WIN32
# include <windows.h>
# endif
# include <GL/gl.h>
#endif
#include <QtOpenGL.h>
#include <Base/Console.h>