summaryrefslogtreecommitdiffstats
path: root/src/openvg/qvg_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-10-08 15:33:25 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2010-10-11 16:40:45 +0200
commitef7df41b11c4f5e026b85ca9b02a9c05b427a301 (patch)
treec0bf9978016f7629481ed7cf61365b5d079c10f5 /src/openvg/qvg_p.h
parent36438bc216f939acd4e6772847d435e2e77d41c3 (diff)
Compile fix for OpenVG without VGFont.
ShivaVG doesn't have VGFont support for example. Reviewed-by: Jason Barron
Diffstat (limited to 'src/openvg/qvg_p.h')
-rw-r--r--src/openvg/qvg_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openvg/qvg_p.h b/src/openvg/qvg_p.h
index 51abbee645..94d1eaea9e 100644
--- a/src/openvg/qvg_p.h
+++ b/src/openvg/qvg_p.h
@@ -55,6 +55,11 @@
// We mean it.
//
+// vgDrawGlyphs() only exists in OpenVG 1.1 and higher.
+#if !defined(OPENVG_VERSION_1_1) && !defined(QVG_NO_DRAW_GLYPHS)
+#define QVG_NO_DRAW_GLYPHS 1
+#endif
+
#include <QtGui/qimage.h>
#if !defined(QT_NO_EGL)