summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_transfer.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-04-12 04:55:05 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-04-12 05:46:04 +0200
commit930bba24e556d94c676b6828340431a15a9edffb (patch)
treef9270bb15807153437a4322acb19d8e1590af187 /src/gallium/drivers/nvfx/nvfx_transfer.c
parentaa985f339d28cb95c54a635652d1ba7f9d394eca (diff)
nvfx: make NOUVEAU_NO_TRANSFER default off
Otherwise, we read from VRAM... Yes, again, it should be fixed to tell whether the buffer is in VRAM or not and behave appropriately. But this should be in pipebuffer/a generic layer; revisit this later too.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_transfer.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_transfer.c b/src/gallium/drivers/nvfx/nvfx_transfer.c
index 59ab14826c3..320f9a80f09 100644
--- a/src/gallium/drivers/nvfx/nvfx_transfer.c
+++ b/src/gallium/drivers/nvfx/nvfx_transfer.c
@@ -63,7 +63,7 @@ nvfx_miptree_transfer_new(struct pipe_context *pipe,
static int no_transfer = -1;
unsigned bind = nvfx_transfer_bind_flags(usage);
if(no_transfer < 0)
- no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/);
+ no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", FALSE);
tx = CALLOC_STRUCT(nvfx_transfer);