diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c index 662892781..a5606360b 100644 --- a/cogl/winsys/cogl-winsys-egl-kms.c +++ b/cogl/winsys/cogl-winsys-egl-kms.c @@ -1029,7 +1029,7 @@ _cogl_winsys_onscreen_init (CoglOnscreen *onscreen, gbm_surface_create (kms_renderer->gbm, kms_display->width, kms_display->height, - GBM_BO_FORMAT_XRGB8888, + GBM_FORMAT_XRGB8888, GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING); @@ -1229,7 +1229,7 @@ cogl_kms_display_set_layout (CoglDisplay *display, new_surface = gbm_surface_create (kms_renderer->gbm, width, height, - GBM_BO_FORMAT_XRGB8888, + GBM_FORMAT_XRGB8888, GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING);