egl/dri2: remove unused buffer_count variable
authorGwan-gyeong Mun <elongbug@gmail.com>
Tue, 18 Jul 2017 08:12:26 +0000 (17:12 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Jul 2017 12:06:50 +0000 (13:06 +0100)
commit3f6cc931eb4d16c4a003827148b97ef6d62ac242
treeb1c1e8f11cb8cc180a98a07a97bdce82e7d2cfe3
parentfaada25f4727bc2b3088aa2a1b9efd2c562cfb28
egl/dri2: remove unused buffer_count variable

It removes unused buffer_count variable from dri2_egl_surface.
And it polishes the assert of dri2_drm_get_buffers_with_format().

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_x11.c