summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv04
diff options
context:
space:
mode:
authorPekka Paalanen <[email protected]>2009-02-05 19:43:36 +0200
committerPekka Paalanen <[email protected]>2009-02-05 20:35:24 +0200
commit8569860c3d288ad5cd6558c9560fc9b404b64fb4 (patch)
treebb1cea6cc3b06e776c0a03695e4fc526c63e082d /src/gallium/drivers/nv04
parent96fb896c3916053c5b3b67c4f51911d718aef2d4 (diff)
nv04: fix pasto in nv04_surface_2d_init()
Wrong hardware object being used, when compared with earlier code. Signed-off-by: Pekka Paalanen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv04')
-rw-r--r--src/gallium/drivers/nv04/nv04_surface_2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 75295831511..2b84e6c5292 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -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,