diff -up cogl-1.16.0/cogl/cogl-texture-2d.c.bigendian cogl-1.16.0/cogl/cogl-texture-2d.c
--- cogl-1.16.0/cogl/cogl-texture-2d.c.bigendian	2013-09-25 12:53:31.932422121 -0400
+++ cogl-1.16.0/cogl/cogl-texture-2d.c	2013-09-25 12:54:04.362422436 -0400
@@ -315,7 +315,7 @@ cogl_wayland_texture_2d_new_from_buffer
           case WL_SHM_FORMAT_ARGB8888:
             format = COGL_PIXEL_FORMAT_ARGB_8888_PRE;
             break;
-          case WL_SHM_FORMAT_XRGB32:
+          case WL_SHM_FORMAT_XRGB8888:
             format = COGL_PIXEL_FORMAT_ARGB_8888;
             internal_format = COGL_PIXEL_FORMAT_RGB_888;
             break;
