1
0
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:
Dmytro Poplavskiy 2011-08-22 09:10:25 +10:00
parent 6e506161e0
commit ed51756191

View File

@ -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),