From 62b1421635581fbffc50eac680bb5a5d7a0b8535 Mon Sep 17 00:00:00 2001 From: nyorain Date: Tue, 20 Jun 2017 18:26:29 +0200 Subject: Make egl_error function part of the egl interface The function may be useful for backends using egl. --- include/backend/egl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend/egl.h') diff --git a/include/backend/egl.h b/include/backend/egl.h index 8cef36b7..0422a52b 100644 --- a/include/backend/egl.h +++ b/include/backend/egl.h @@ -10,6 +10,7 @@ struct wlr_egl { EGLContext context; }; +const char *egl_error(void); bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display); void wlr_egl_free(struct wlr_egl *egl); EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window); -- cgit v1.2.3