summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-06-11 12:22:28 +0100
committerEmil Velikov <[email protected]>2015-06-12 15:17:40 +0100
commitd38a80ba6c75b8f594a4ff88e59ede254075a859 (patch)
tree9a99715225fe81183b6184a7732aa5b7a5e64218
parent667fe2f5e9508a9591eeabdd7a01596006d87e5f (diff)
egl/haiku: kill off haiku_log()
It's an incomplete copy of the default _eglLog() implementation. Just use the default logger. Cc: Alexander von Gluck IV <[email protected]> Acked-by: Brian Paul <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index 056fafc729d..2933acc95cc 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -76,28 +76,6 @@ struct haiku_egl_surface
};
-static void
-haiku_log(EGLint level, const char *msg)
-{
- switch (level) {
- case _EGL_DEBUG:
- fprintf(stderr,"%s", msg);
- break;
- case _EGL_INFO:
- fprintf(stderr,"%s", msg);
- break;
- case _EGL_WARNING:
- fprintf(stderr,"%s", msg);
- break;
- case _EGL_FATAL:
- fprintf(stderr,"%s", msg);
- break;
- default:
- break;
- }
-}
-
-
/**
* Called via eglCreateWindowSurface(), drv->API.CreateWindowSurface().
*/
@@ -241,8 +219,6 @@ init_haiku(_EGLDriver *drv, _EGLDisplay *dpy)
{
CALLED();
- _eglSetLogProc(haiku_log);
-
TRACE("Add configs\n");
haiku_add_configs_for_visuals(dpy);