aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-02-06 14:36:56 -0500
committerYounes Manton <[email protected]>2009-02-06 14:36:56 -0500
commitbb34072b940840757f2de1d2e7202b2868ec2a56 (patch)
treefc1198c770d8b4d430ad79aedaac7ab3ec6bff0b /src/gallium/drivers
parent5c8c728afe0e2a8e8819097ae1c2f3c738d9397b (diff)
nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT.
Diffstat (limited to 'src/gallium/drivers')
-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 2b84e6c5292..b507e993f1e 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);