egl: fix android logger compilation
authorTapani Pälli <tapani.palli@intel.com>
Fri, 12 May 2017 06:32:15 +0000 (09:32 +0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 15 May 2017 15:03:51 +0000 (16:03 +0100)
commit0aa578714e9d664ab15d2bfb70102505928d8119
treec3a44cfc396c80c0ede573ef94c9cefd9dd8d806
parent6d2e912cdb10c36ecc5fc4ab5f1bfb80a7fe211d
egl: fix android logger compilation

1ce5853 broken compilation since LOG_ERROR is not defined and also
macro expansion won't work as planned (expands to 'ANDROID_egl2alog[level]')

v2: append 'ANDROID' to egl2alog table and use LOG_PRI
    (suggested by Chih-Wei Huang)

Fixes: 1ce5853 ("egl: simplify the Android logger")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/egllog.c