Module: Mesa Branch: refs/tags/crap-2 Commit: e9fcc18a8930042d5bd76b1beb8c4a0bdae824ff URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9fcc18a8930042d5bd76b1beb8c4a0bdae824ff
Author: Emil Velikov <[email protected]> Date: Thu Jun 13 11:30:08 2013 +0100 nouveau: zero out transfer_box height&depth Signed-off-by: Emil Velikov <[email protected]> --- src/gallium/drivers/nouveau/nouveau_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c index f587f2c..15b9e59 100644 --- a/src/gallium/drivers/nouveau/nouveau_buffer.c +++ b/src/gallium/drivers/nouveau/nouveau_buffer.c @@ -255,8 +255,8 @@ nouveau_buffer_transfer_init(struct nouveau_transfer *tx, tx->base.box.y = 0; tx->base.box.z = 0; tx->base.box.width = box->width; - tx->base.box.height = 1; - tx->base.box.depth = 1; + tx->base.box.height = 0; + tx->base.box.depth = 0; tx->base.stride = 0; tx->base.layer_stride = 0; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
