gl/shader/variables: include generic gl.h header
authorMatthew Waters <matthew@centricular.com>
Thu, 3 Sep 2015 14:09:09 +0000 (00:09 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:09 +0000 (19:32 +0000)
Otherwise we may miss some forward declarations

Fixes build error: undefined reference to GstGLSLStage

gst-libs/gst/gl/gstglshadervariables.h

index b37e1a5..c494067 100644 (file)
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <gst/gl/gstglshader.h>
+#include <gst/gl/gl.h>
 
 #define VALID_VARNAME_CHARS "abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"