This looks good to me:<div><br></div><div>Reviewed-by: Robert Bragg <<a href="mailto:robert@linux.intel.com">robert@linux.intel.com</a>></div><div><br></div><div>thanks,</div><div>- Robert</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 5:47 PM, Neil Roberts <span dir="ltr"><<a href="mailto:neil@linux.intel.com" target="_blank">neil@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
cogl-texture-gl.c needs cogl-texture-private.h to get the definition<br>
of the texture vtable struct. This header gets included via<br>
cogl-texture-pixmap-x11-private.h which is included from<br>
cogl-winsys-private.h and cogl-context-private.h. However if Cogl is<br>
being built without an X11 backend then it won't be included so the<br>
file should also explicitly include it. This was breaking building<br>
cogl with only the SDL winsys.<br>
---<br>
 cogl/driver/gl/cogl-texture-gl.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/cogl/driver/gl/cogl-texture-gl.c b/cogl/driver/gl/cogl-texture-gl.c<br>
index a9f0d32..8d3aafe 100644<br>
--- a/cogl/driver/gl/cogl-texture-gl.c<br>
+++ b/cogl/driver/gl/cogl-texture-gl.c<br>
@@ -29,6 +29,7 @@<br>
 #include "cogl-internal.h"<br>
 #include "cogl-context-private.h"<br>
 #include "cogl-texture-gl-private.h"<br>
+#include "cogl-texture-private.h"<br>
 #include "cogl-util.h"<br>
<br>
 static inline int<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.11.3.g3c3efa5<br>
<br>
_______________________________________________<br>
Cogl mailing list<br>
<a href="mailto:Cogl@lists.freedesktop.org">Cogl@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/cogl" target="_blank">http://lists.freedesktop.org/mailman/listinfo/cogl</a><br>
</font></span></blockquote></div><br></div>