diff options
author | Pekka Paalanen <[email protected]> | 2009-02-05 19:43:36 +0200 |
---|---|---|
committer | Pekka Paalanen <[email protected]> | 2009-02-05 20:35:24 +0200 |
commit | 8569860c3d288ad5cd6558c9560fc9b404b64fb4 (patch) | |
tree | bb1cea6cc3b06e776c0a03695e4fc526c63e082d /src | |
parent | 96fb896c3916053c5b3b67c4f51911d718aef2d4 (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')
-rw-r--r-- | src/gallium/drivers/nv04/nv04_surface_2d.c | 2 |
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, |