After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710135 - Fix build on big endian
Fix build on big endian
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: Wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
: 708755 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-14 19:24 UTC by Emilio Pozuelo Monfort
Modified: 2014-02-19 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build on big ending (1004 bytes, patch)
2013-10-14 19:24 UTC, Emilio Pozuelo Monfort
committed Details | Review

Description Emilio Pozuelo Monfort 2013-10-14 19:24:22 UTC
Commit 50d1285b updated the wl_shm enum values but left
one out. Update it to fix the build on big endian.
Comment 1 Emilio Pozuelo Monfort 2013-10-14 19:24:24 UTC
Created attachment 257292 [details] [review]
Fix build on big ending
Comment 2 Emilio Pozuelo Monfort 2013-10-14 19:30:12 UTC
s/ending/endian/ obviously. I can fix that before committing.
Comment 3 Neil Roberts 2013-10-15 18:13:55 UTC
Good catch, thanks. I've made the spelling fix and pushed it to the master, 1.18 and 1.16 branches.

While looking into it I noticed that Weston doesn't seem to handle this and always uploads the data as GL_BGRA/GL_UNSIGNED_BYTE. I checked with Kristian and he thinks this is probably a bug. If you are using Weston on big-endian you may want to look into that.
Comment 4 Neil Roberts 2014-02-19 15:10:49 UTC
*** Bug 708755 has been marked as a duplicate of this bug. ***