From: Juan Pablo Ugarte Date: Wed, 11 Jan 2017 13:32:23 +0000 (-0300) Subject: gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER X-Git-Tag: 1.19.3~509^2~1701^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efa2ed59c7e58dfd158255b84126ba50287c8a85;p=platform%2Fupstream%2Fgstreamer.git gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER https://bugzilla.gnome.org/show_bug.cgi?id=777143 --- diff --git a/tests/examples/gtk/glliveshader.c b/tests/examples/gtk/glliveshader.c index d8c8d35..5a71bc3 100644 --- a/tests/examples/gtk/glliveshader.c +++ b/tests/examples/gtk/glliveshader.c @@ -25,6 +25,10 @@ #include #endif +#ifndef GL_GEOMETRY_SHADER +#define GL_GEOMETRY_SHADER 0x8DD9 +#endif + static GMainLoop *loop; static const gchar *vert = "#version 330\n\