mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-19 09:54:15 +01:00
Change to GLC Lib to make it compile on OSX with QT 4.8.0. This might be
required for all OS's with 4.8.0
This commit is contained in:
parent
c7cf52be39
commit
f2e04f78b7
@ -30,6 +30,11 @@
|
||||
// Buffer offset used by VBO
|
||||
#define BUFFER_OFFSET(i) ((char*)NULL + (i))
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
#include "gl.h"
|
||||
#include "glu.h"
|
||||
#endif
|
||||
|
||||
#if !defined(Q_OS_MAC)
|
||||
// ARB_vertex_buffer_object
|
||||
extern PFNGLBINDBUFFERARBPROC glBindBuffer;
|
||||
|
@ -25,6 +25,11 @@
|
||||
|
||||
#include "glc_camera.h"
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
#include "gl.h"
|
||||
#include "glu.h"
|
||||
#endif
|
||||
|
||||
#include <QtDebug>
|
||||
|
||||
using namespace glc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user