gallium/util: make util_copy_framebuffer_state(src=NULL) work
authorRob Clark <robclark@freedesktop.org>
Sat, 11 Jun 2016 13:21:10 +0000 (09:21 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 6 Jul 2016 14:17:30 +0000 (10:17 -0400)
commitdef044376a6d15d992fd8e0d9a63c40a9f509c78
treed7ae1339995c8e288e60f42213a6337895fcb5b7
parent660cd3de4acf5ae8ccef2bc5d367de98d9ac0e27
gallium/util: make util_copy_framebuffer_state(src=NULL) work

Be more consistent with the other u_inlines util_copy_xyz_state()
helpers and support NULL src.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_framebuffer.c