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. --- backend/egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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"; -- cgit v1.2.3