Mesa (refs/tags/crap-2): nouveau: zero out transfer_box height&depth
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Sep 1 00:17:34 UTC 2014
Module: Mesa
Branch: refs/tags/crap-2
Commit: e9fcc18a8930042d5bd76b1beb8c4a0bdae824ff
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9fcc18a8930042d5bd76b1beb8c4a0bdae824ff
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jun 13 11:30:08 2013 +0100
nouveau: zero out transfer_box height&depth
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
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;
More information about the mesa-commit
mailing list