forked from enlightenment/efl
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
This commit is contained in:
parent
3311729f3c
commit
d4c76753c9
|
@ -336,7 +336,7 @@ evgl_eng_context_create(void *data, void *ctxt)
|
||||||
|
|
||||||
attrs[0] = EGL_CONTEXT_CLIENT_VERSION;
|
attrs[0] = EGL_CONTEXT_CLIENT_VERSION;
|
||||||
attrs[1] = 2;
|
attrs[1] = 2;
|
||||||
attrs[3] = EGL_NONE;
|
attrs[2] = EGL_NONE;
|
||||||
|
|
||||||
if (ctxt)
|
if (ctxt)
|
||||||
{
|
{
|
||||||
|
|
|
@ -508,7 +508,7 @@ eng_gl_context_new(Outbuf *ob)
|
||||||
|
|
||||||
attrs[0] = EGL_CONTEXT_CLIENT_VERSION;
|
attrs[0] = EGL_CONTEXT_CLIENT_VERSION;
|
||||||
attrs[1] = 2;
|
attrs[1] = 2;
|
||||||
attrs[3] = EGL_NONE;
|
attrs[2] = EGL_NONE;
|
||||||
|
|
||||||
if (!(ctx = calloc(1, sizeof(Context_3D)))) return NULL;
|
if (!(ctx = calloc(1, sizeof(Context_3D)))) return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue