diff options
author | Younes Manton <younes.m@gmail.com> | 2009-02-06 14:36:56 -0500 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2009-02-06 14:36:56 -0500 |
commit | bb34072b940840757f2de1d2e7202b2868ec2a56 (patch) | |
tree | fc1198c770d8b4d430ad79aedaac7ab3ec6bff0b | |
parent | 5c8c728afe0e2a8e8819097ae1c2f3c738d9397b (diff) |
nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT.
-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 2b84e6c529..b507e993f1 100644 --- a/src/gallium/drivers/nv04/nv04_surface_2d.c +++ b/src/gallium/drivers/nv04/nv04_surface_2d.c @@ -277,7 +277,7 @@ nv04_surface_fill(struct nv04_surface_2d *ctx, struct pipe_surface *dst, cs2d_format = nv04_surface_format(dst->format); assert(cs2d_format >= 0); - gdirect_format = nv04_surface_format(dst->format); + gdirect_format = nv04_rect_format(dst->format); assert(gdirect_format >= 0); WAIT_RING (chan, 16); |