aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-31 12:17:19 +0100
committerEmil Velikov <[email protected]>2017-05-08 15:33:12 +0100
commit716e5db61009a6d1728b633966ea608758590d78 (patch)
tree91cf124c2490766f20c6700104d0550ba053cfa2 /src/egl
parenta3996590b8ef0f64a7e7ec94652494a8e3a05d2b (diff)
egl: remove unused _eglSetLogLevel()
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/egllog.c21
-rw-r--r--src/egl/main/egllog.h4
2 files changed, 0 insertions, 25 deletions
diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c
index 956946532cd..c8307482902 100644
--- a/src/egl/main/egllog.c
+++ b/src/egl/main/egllog.c
@@ -102,27 +102,6 @@ _eglSetLogProc(_EGLLogProc logger)
/**
- * Set the log reporting level.
- */
-void
-_eglSetLogLevel(EGLint level)
-{
- switch (level) {
- case _EGL_FATAL:
- case _EGL_WARNING:
- case _EGL_INFO:
- case _EGL_DEBUG:
- mtx_lock(&logging.mutex);
- logging.level = level;
- mtx_unlock(&logging.mutex);
- break;
- default:
- break;
- }
-}
-
-
-/**
* The default logger. It prints the message to stderr.
*/
static void
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h
index cf58525005e..9035a7a3e74 100644
--- a/src/egl/main/egllog.h
+++ b/src/egl/main/egllog.h
@@ -52,10 +52,6 @@ _eglSetLogProc(_EGLLogProc logger);
extern void
-_eglSetLogLevel(EGLint level);
-
-
-extern void
_eglLog(EGLint level, const char *fmtStr, ...);