egl/drm: add going out of the loop when the designated buffer is found
authorGwan-gyeong Mun <elongbug@gmail.com>
Mon, 17 Jul 2017 15:03:14 +0000 (00:03 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Jul 2017 12:06:50 +0000 (13:06 +0100)
commit7c8958555176adf7b3647fc8e94e86faeccb28c4
tree6cd22713ffea2c081b9de1c65d39e34bbc7bbe0b
parent89505f7eade77cef0e09d7a3f07c4629c3d3f751
egl/drm: add going out of the loop when the designated buffer is found

Because the color_buffers have a each unique bo, if the designated buffer is
found, release_buffer() can go out the loop which seaches the buffer.

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_drm.c