summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-03-16 15:34:11 +0100
committerMatthew Waters <ystreet00@gmail.com>2014-03-16 15:34:11 +0100
commite8bbcb366e70af6cbea548842a3627c03234d9b9 (patch)
tree77523661b05e124684ca172248bb2ddc45e13f6e
parent6b3fe4418538bcdb8ccccd274ba22764ae203e6f (diff)
gl: define GL_NUM_EXTENSIONS if not defined
-rw-r--r--gst-libs/gst/gl/gstglcontext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
index 34b14b82f..5e2d87cba 100644
--- a/gst-libs/gst/gl/gstglcontext.c
+++ b/gst-libs/gst/gl/gstglcontext.c
@@ -40,6 +40,10 @@
#define _GNU_SOURCE
#endif
+#ifndef GL_NUM_EXTENSIONS
+#define GL_NUM_EXTENSIONS 0x0000821d
+#endif
+
#include <gmodule.h>
#include "gl.h"