MetaCursorTracker: fix compilation in big endian arches

The enum name was wrong.
Patch originally by Dan Horák <dan@danny.cz>

https://bugzilla.gnome.org/show_bug.cgi?id=708813
This commit is contained in:
Giovanni Campagna 2013-09-26 13:31:25 +02:00
parent cb5e1e2776
commit 58622c0515

View File

@ -320,7 +320,7 @@ meta_cursor_reference_from_buffer (MetaCursorTracker *tracker,
cogl_internal_format = COGL_PIXEL_FORMAT_ANY; cogl_internal_format = COGL_PIXEL_FORMAT_ANY;
gbm_format = GBM_FORMAT_ARGB8888; gbm_format = GBM_FORMAT_ARGB8888;
break; break;
case WL_SHM_FORMAT_XRGB32: case WL_SHM_FORMAT_XRGB8888:
cogl_format = COGL_PIXEL_FORMAT_ARGB_8888; cogl_format = COGL_PIXEL_FORMAT_ARGB_8888;
cogl_internal_format = COGL_PIXEL_FORMAT_RGB_888; cogl_internal_format = COGL_PIXEL_FORMAT_RGB_888;
gbm_format = GBM_FORMAT_XRGB8888; gbm_format = GBM_FORMAT_XRGB8888;