ilo: careful with empty fb state in ilo_gpe_set_fb()
authorChia-I Wu <olvaffe@gmail.com>
Fri, 12 Sep 2014 08:53:48 +0000 (16:53 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 12 Sep 2014 08:58:29 +0000 (16:58 +0800)
commit611f09890ee73f9275b99bff1215a91297fe5d5b
tree3e2307e92e80a6035c7de2f2c3434d4ec9c2002c
parent95058bdec31d3faa76be01731a26939f3039a66b
ilo: careful with empty fb state in ilo_gpe_set_fb()

We cannot pass 0 as the width or height to ilo_gpe_init_view_surface_null().
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen7.c