mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
Merge pull request #1051 from RedSoxFan/fix-atti-assert
Fix atti assert in wlr_egl_init
This commit is contained in:
commit
9179b438a5
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
|
||||||
}
|
}
|
||||||
|
|
||||||
attribs[atti++] = EGL_NONE;
|
attribs[atti++] = EGL_NONE;
|
||||||
assert(atti < sizeof(attribs)/sizeof(attribs[0]));
|
assert(atti <= sizeof(attribs)/sizeof(attribs[0]));
|
||||||
|
|
||||||
egl->context = eglCreateContext(egl->display, egl->config,
|
egl->context = eglCreateContext(egl->display, egl->config,
|
||||||
EGL_NO_CONTEXT, attribs);
|
EGL_NO_CONTEXT, attribs);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue