gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER
authorJuan Pablo Ugarte <ugarte@endlessm.com>
Wed, 11 Jan 2017 13:32:23 +0000 (10:32 -0300)
committerMatthew Waters <matthew@centricular.com>
Fri, 13 Jan 2017 00:20:51 +0000 (11:20 +1100)
https://bugzilla.gnome.org/show_bug.cgi?id=777143

tests/examples/gtk/glliveshader.c

index d8c8d35..5a71bc3 100644 (file)
 #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\