nv04: fix pasto in nv04_surface_2d_init()
authorPekka Paalanen <pq@iki.fi>
Thu, 5 Feb 2009 17:43:36 +0000 (19:43 +0200)
committerPekka Paalanen <pq@iki.fi>
Thu, 5 Feb 2009 18:35:24 +0000 (20:35 +0200)
Wrong hardware object being used, when compared with earlier code.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nv04/nv04_surface_2d.c

index 752958315114d2c9e586d9b84b3b85fb792f39f8..2b84e6c52924b92c4df7f7f15e2a93bc8e6612c9 100644 (file)
@@ -391,7 +391,7 @@ nv04_surface_2d_init(struct nouveau_winsys *nvws)
        BEGIN_RING(chan, ctx->rect, NV04_GDI_RECTANGLE_TEXT_DMA_NOTIFY, 1);
        OUT_RING  (chan, ctx->ntfy->handle);
        BEGIN_RING(chan, ctx->rect, NV04_GDI_RECTANGLE_TEXT_SURFACE, 1);
-       OUT_RING  (chan, ctx->ntfy->handle);
+       OUT_RING  (chan, ctx->surf2d->handle);
        BEGIN_RING(chan, ctx->rect, NV04_GDI_RECTANGLE_TEXT_OPERATION, 1);
        OUT_RING  (chan, NV04_GDI_RECTANGLE_TEXT_OPERATION_SRCCOPY);
        BEGIN_RING(chan, ctx->rect,