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:
parent
6919b4ca66
commit
98997e9f79
@ -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\
|
||||
|
Loading…
x
Reference in New Issue
Block a user