From d4c76753c9a35f8a0acd2aeddfb68d2c11f501a0 Mon Sep 17 00:00:00 2001 From: Gwanglim Lee Date: Mon, 11 Aug 2014 11:45:30 -0400 Subject: [PATCH] evas-wayland-egl: Fix typos about egl context attribute list Summary: Fix typos 3 to 2. @fix Test Plan: N/A Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1314 --- src/modules/evas/engines/wayland_egl/evas_engine.c | 2 +- src/modules/evas/engines/wayland_egl/evas_wl_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c index ba814a19f2..0a133ba19f 100644 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -336,7 +336,7 @@ evgl_eng_context_create(void *data, void *ctxt) attrs[0] = EGL_CONTEXT_CLIENT_VERSION; attrs[1] = 2; - attrs[3] = EGL_NONE; + attrs[2] = EGL_NONE; if (ctxt) { diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c index 33a773f42b..8400c54ac0 100644 --- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c +++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c @@ -508,7 +508,7 @@ eng_gl_context_new(Outbuf *ob) attrs[0] = EGL_CONTEXT_CLIENT_VERSION; attrs[1] = 2; - attrs[3] = EGL_NONE; + attrs[2] = EGL_NONE; if (!(ctx = calloc(1, sizeof(Context_3D)))) return NULL;