diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/egl_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/egl_common.c b/examples/egl_common.c index 0a53f543..2528d9b4 100644 --- a/examples/egl_common.c +++ b/examples/egl_common.c @@ -81,8 +81,7 @@ bool egl_init(struct wl_display *display) { goto error; } - EGLint major, minor; - if (eglInitialize(egl_display, &major, &minor) == EGL_FALSE) { + if (eglInitialize(egl_display, NULL, NULL) == EGL_FALSE) { wlr_log(WLR_ERROR, "Failed to initialize EGL"); goto error; } |