st/nine: Don't call u_box_union_* when dirty region is empty
authorMasanori Kakura <kakurasan@gmail.com>
Wed, 28 Dec 2016 13:21:02 +0000 (22:21 +0900)
committerAxel Davy <axel.davy@ens.fr>
Thu, 12 Jan 2017 19:33:11 +0000 (20:33 +0100)
commit9b5f5de9e9efd6a0c0f53806c0f4b5890c84f98b
tree2f7827d4d7f606b41adbc1540845c6695c10ca67
parenta5f0cdb36f9dd06866e62c7094939ccd62db7caa
st/nine: Don't call u_box_union_* when dirty region is empty

When dirty region is empty, u_box_union_* incorrectly expands
the new region.

This fixes broken font rendering issue in WOLF RPG Editor v2.10 games.

Signed-off-by: Masanori Kakura <kakurasan@gmail.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/volumetexture9.c