clutter: Fix compilation error in GL examples
authorSebastian Dröge <sebastian@centricular.com>
Mon, 14 Dec 2015 08:38:41 +0000 (09:38 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Dec 2015 08:38:41 +0000 (09:38 +0100)
commit0b5387b96ce6fa9663368f4266de86bd43d23566
tree72db192804cedf2252dde512d502cbc42dc797c3
parent3088063ebdb8d266e9e5aa7a4e6a381067614120
clutter: Fix compilation error in GL examples

Include gst/gl.h instead of specific headers to prevent such problems also in
the future.

In file included from ../../../../gst-libs/gst/gl/gl.h:47:0,
                 from ../../../../gst-libs/gst/gl/gstglbasememory.h:137,
                 from ../../../../gst-libs/gst/gl/gstglmemory.h:29,
                 from cluttershare.c:39:
../../../../gst-libs/gst/gl/gstglmemorypbo.h:51:20: error: field ‘mem’ has incomplete type
   GstGLMemory      mem;
                    ^
../../../../gst-libs/gst/gl/gstglmemorypbo.h:124:24: error: field ‘parent’ has incomplete type
   GstGLMemoryAllocator parent;
                        ^
../../../../gst-libs/gst/gl/gstglmemorypbo.h:134:29: error: field ‘parent_class’ has incomplete type
   GstGLMemoryAllocatorClass parent_class;
                             ^
tests/examples/gl/clutter/cluttershare.c