gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER

https://bugzilla.gnome.org/show_bug.cgi?id=777143
This commit is contained in:
Juan Pablo Ugarte 2017-01-11 10:32:23 -03:00 committed by Matthew Waters
parent 64394fc296
commit efa2ed59c7

View file

@ -25,6 +25,10 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
#endif #endif
#ifndef GL_GEOMETRY_SHADER
#define GL_GEOMETRY_SHADER 0x8DD9
#endif
static GMainLoop *loop; static GMainLoop *loop;
static const gchar *vert = "#version 330\n\ static const gchar *vert = "#version 330\n\