From efa2ed59c7e58dfd158255b84126ba50287c8a85 Mon Sep 17 00:00:00 2001 From: Juan Pablo Ugarte Date: Wed, 11 Jan 2017 10:32:23 -0300 Subject: [PATCH] gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER https://bugzilla.gnome.org/show_bug.cgi?id=777143 --- tests/examples/gtk/glliveshader.c | 4 ++++ 1 file changed, 4 insertions(+) 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\ -- 2.7.4