lima: use util_copy_framebuffer_state
authorQiang Yu <yuq825@gmail.com>
Fri, 7 Feb 2020 03:12:09 +0000 (11:12 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit3c4ff27250710a2f4880d0e527b86a4b39adeb1b
treeced8ab9b65c7eb69ab60cf722a318e741f45d525
parentc8b53d802086f398e50762762227b9ac4c5c6293
lima: use util_copy_framebuffer_state

Use this helper to replace self written code.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
src/gallium/drivers/lima/lima_state.c