mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Compilation fix on mac
It's safer to define GL_CLAMP_TO_EDGE if not available than to include GL/glext.h.
This commit is contained in:
parent
6e506161e0
commit
ed51756191
@ -26,7 +26,9 @@
|
||||
#include <QGLContext>
|
||||
#include <QDebug>
|
||||
|
||||
#include <GL/glext.h>
|
||||
#ifndef GL_CLAMP_TO_EDGE
|
||||
#define GL_CLAMP_TO_EDGE 0x812F
|
||||
#endif
|
||||
|
||||
CachedSvgItem::CachedSvgItem(QGraphicsItem * parent) :
|
||||
QGraphicsSvgItem(parent),
|
||||
|
Loading…
x
Reference in New Issue
Block a user