From 35813414bef12dda9497b41b85747f8c5d0d0994 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 15 Feb 2013 11:30:59 +0100 Subject: [PATCH] Fix KMS mode. Wrong color format was used. --- gfx/context/drm_egl_ctx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index c0024c4f6d..6172dcb10b 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -390,11 +390,11 @@ static bool gfx_ctx_set_video_mode( #define EGL_ATTRIBS_BASE \ EGL_SURFACE_TYPE, EGL_WINDOW_BIT, \ - EGL_RED_SIZE, 0, \ - EGL_GREEN_SIZE, 0, \ - EGL_BLUE_SIZE, 0, \ - EGL_DEPTH_SIZE, 0, \ - EGL_STENCIL_SIZE, 0 + EGL_RED_SIZE, 1, \ + EGL_GREEN_SIZE, 1, \ + EGL_BLUE_SIZE, 1, \ + EGL_ALPHA_SIZE, 0, \ + EGL_DEPTH_SIZE, 0 static const EGLint egl_attribs_gl[] = { EGL_ATTRIBS_BASE,