projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401b44f
)
gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER
author
Juan Pablo Ugarte
<ugarte@endlessm.com>
Wed, 11 Jan 2017 13:32:23 +0000
(10:32 -0300)
committer
Matthew Waters
<matthew@centricular.com>
Fri, 13 Jan 2017 00:35:10 +0000
(11:35 +1100)
https://bugzilla.gnome.org/show_bug.cgi?id=777143
tests/examples/gtk/glliveshader.c
patch
|
blob
|
history
diff --git
a/tests/examples/gtk/glliveshader.c
b/tests/examples/gtk/glliveshader.c
index d8c8d350635a015480a51ba152626a916a19e1a6..5a71bc3fcb3b1777c053042bf599341f3f7fe686 100644
(file)
--- a/
tests/examples/gtk/glliveshader.c
+++ b/
tests/examples/gtk/glliveshader.c
@@
-25,6
+25,10
@@
#include <X11/Xlib.h>
#endif
+#ifndef GL_GEOMETRY_SHADER
+#define GL_GEOMETRY_SHADER 0x8DD9
+#endif
+
static GMainLoop *loop;
static const gchar *vert = "#version 330\n\