egl/android: Set EGLSurface.Lost to EGL_TRUE/EGL_FALSE
authorNicolas Boichat <drinkcat@chromium.org>
Fri, 5 May 2017 02:43:50 +0000 (10:43 +0800)
committerChad Versace <chadversary@chromium.org>
Fri, 5 May 2017 03:09:10 +0000 (20:09 -0700)
commit63b12b0c77759a0244416cd1406c2bf50e7c01ec
tree0981f0331b5e244adbfb24d9ecabaaa5ed9d213c
parent98cd5120896c3c1229d1ed63ab7d189a1486597f
egl/android: Set EGLSurface.Lost to EGL_TRUE/EGL_FALSE

Lost is an EGLBoolean, so we should assign it to EGL_TRUE/EGL_FALSE,
not true/false.

Fixes: e5eace58684 ("egl/android: Mark surface as lost when dequeueBuffer fails")
Fixes: 0212db35040 ("egl/android: Cancel any outstanding ANativeBuffer in surface destructor")
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/egl/drivers/dri2/platform_android.c