summaryrefslogtreecommitdiff
path: root/src/egl/main/egllog.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-28 17:25:48 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-28 18:10:37 +0800
commit35f9a9c5c99d0d723bb9361fc5018cf2fdec1fce (patch)
tree1f894bf3757b0d5e42c2ab7156b6b6e4ef826052 /src/egl/main/egllog.c
parentd5e732764b7165ba5355805a3efa1596f1e78a4a (diff)
egl: Allow driver to be built-in.
This undoes a temporary hack.
Diffstat (limited to 'src/egl/main/egllog.c')
-rw-r--r--src/egl/main/egllog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c
index 1d7a0a388c..23eb523eeb 100644
--- a/src/egl/main/egllog.c
+++ b/src/egl/main/egllog.c
@@ -21,11 +21,7 @@ static EGLint ReportingLevel = -1;
static void
log_level_initialize(void)
{
-#if defined(_EGL_PLATFORM_X)
char *log_env = getenv("EGL_LOG_LEVEL");
-#else
- char *log_env = NULL;
-#endif
if (log_env == NULL) {
ReportingLevel = FALLBACK_LOG_LEVEL;