From d33cfef8bdaa07c6874e813a142a91b86fcde48a Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 12 Dec 2012 00:26:14 +0200 Subject: [PATCH] Don't restrict EGL color component sizes. This makes SGX530 work when using 16bpp framebuffer. --- gfx/context/xegl_ctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/context/xegl_ctx.c b/gfx/context/xegl_ctx.c index 9662fbf718..84249e4825 100644 --- a/gfx/context/xegl_ctx.c +++ b/gfx/context/xegl_ctx.c @@ -177,9 +177,9 @@ static bool gfx_ctx_init(void) #define EGL_ATTRIBS_BASE \ EGL_SURFACE_TYPE, EGL_WINDOW_BIT, \ - EGL_RED_SIZE, 8, \ - EGL_GREEN_SIZE, 8, \ - EGL_BLUE_SIZE, 8, \ + EGL_RED_SIZE, 0, \ + EGL_GREEN_SIZE, 0, \ + EGL_BLUE_SIZE, 0, \ EGL_DEPTH_SIZE, 0, \ EGL_STENCIL_SIZE, 0