diff options
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2013-10-14 21:21:02 +0200 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2013-10-15 19:05:41 +0100 |
commit | ee87fcb7427962047c811c9fab0e0a4237134243 (patch) | |
tree | 8fc744486ec68478f474f9ccc96dc42d104d7c5d | |
parent | 2d743bc83d778ca21b2a0e26f9fd5675cd549205 (diff) | |
download | cogl-ee87fcb7427962047c811c9fab0e0a4237134243.tar.gz |
Fix build on big-endian
Commit 50d1285b updated the wl_shm enum values but left
one out. Update it to fix the build on big-endian.
https://bugzilla.gnome.org/show_bug.cgi?id=710135
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 9246286846d0428b03e646b2f5ec14f0eff4edc6)
-rw-r--r-- | cogl/cogl-texture-2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-texture-2d.c b/cogl/cogl-texture-2d.c index 4147746c..60b932b9 100644 --- a/cogl/cogl-texture-2d.c +++ b/cogl/cogl-texture-2d.c @@ -315,7 +315,7 @@ cogl_wayland_texture_2d_new_from_buffer (CoglContext *ctx, 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; |