diff options
author | nyorain <nyorain@gmail.com> | 2017-06-20 18:26:29 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-06-20 18:26:29 +0200 |
commit | 62b1421635581fbffc50eac680bb5a5d7a0b8535 (patch) | |
tree | 168509e9c33cbe3160a4bb519b8c9b3cc6935a4e /backend/egl.c | |
parent | e22626ef6ae4769f37972ccd161e9d029d60f497 (diff) |
Make egl_error function part of the egl interface
The function may be useful for backends using egl.
Diffstat (limited to 'backend/egl.c')
-rw-r--r-- | backend/egl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/egl.c b/backend/egl.c index 3462113c..cfee59ce 100644 --- a/backend/egl.c +++ b/backend/egl.c @@ -6,7 +6,7 @@ #include "backend/egl.h" #include "common/log.h" -static const char *egl_error(void) { +const char *egl_error(void) { switch (eglGetError()) { case EGL_SUCCESS: return "Success"; |