summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv04
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-06-24 19:38:52 -0400
committerYounes Manton <younes.m@gmail.com>2009-06-29 22:22:25 -0400
commit78aaf2a4f16bafd8f3880e63982dea7219125ff0 (patch)
treedbb4a7138bf226fa46f97ccb985226d9a1e13dd7 /src/gallium/drivers/nv04
parent1f070125e365dadf97797785fdeef1ccb1431f21 (diff)
nouveau: Turn off debug cannon.
Diffstat (limited to 'src/gallium/drivers/nv04')
-rw-r--r--src/gallium/drivers/nv04/nv04_surface_2d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 5afd028ddd..f315cf54f0 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -267,8 +267,7 @@ nv04_surface_copy(struct nv04_surface_2d *ctx, struct pipe_surface *dst,
* to NV_MEMORY_TO_MEMORY_FORMAT in this case.
*/
if ((src->offset & 63) || (dst->offset & 63) ||
- (src_pitch & 63) || (dst_pitch & 63) ||
- debug_get_bool_option("NOUVEAU_NO_COPYBLIT", FALSE)) {
+ (src_pitch & 63) || (dst_pitch & 63)) {
nv04_surface_copy_m2mf(ctx, dst, dx, dy, src, sx, sy, w, h);
return;
}