From: Younes Manton Date: Fri, 6 Feb 2009 19:36:56 +0000 (-0500) Subject: nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb34072b940840757f2de1d2e7202b2868ec2a56;p=mesa.git nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT. --- 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);