aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-06-20 18:26:29 +0200
committernyorain <nyorain@gmail.com>2017-06-20 18:26:29 +0200
commit62b1421635581fbffc50eac680bb5a5d7a0b8535 (patch)
tree168509e9c33cbe3160a4bb519b8c9b3cc6935a4e /include/backend
parente22626ef6ae4769f37972ccd161e9d029d60f497 (diff)
Make egl_error function part of the egl interface
The function may be useful for backends using egl.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/egl.h1
1 files changed, 1 insertions, 0 deletions
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);