OSDN Git Service

st/nine: Fix use of uninitialized memory
authorPatrick Rudolph <siro@das-labor.org>
Thu, 24 Sep 2015 17:57:51 +0000 (19:57 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit2a4d1509c8de5973871a69aa64b4f92d73351e0e
treec97fefaa907777bcd5273cfd364891cdcb3f02c5
parent924038c08f03e8f55522951a6ae27d9fab42e3a1
st/nine: Fix use of uninitialized memory

The values of box.z and box.depth weren't set and lead to a crash.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/auxiliary/util/u_box.h
src/gallium/state_trackers/nine/basetexture9.c