From: Andres Gomez Date: Tue, 18 Nov 2014 13:49:00 +0000 (-0700) Subject: draw: Fixed inline comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d5af04bae0668ce9e081f06f1dd4b25528e27e8;p=mesa.git draw: Fixed inline comments Reviewed-by: Brian Paul --- diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index d8dc2ab0bae..37045ebb029 100644 --- a/src/gallium/auxiliary/draw/draw_private.h +++ b/src/gallium/auxiliary/draw/draw_private.h @@ -499,7 +499,7 @@ draw_clamp_viewport_idx(int idx) /** * Adds two unsigned integers and if the addition * overflows then it returns the value from - * from the overflow_value variable. + * the overflow_value variable. */ static INLINE unsigned draw_overflow_uadd(unsigned a, unsigned b, diff --git a/src/gallium/auxiliary/draw/draw_pt_vsplit.c b/src/gallium/auxiliary/draw/draw_pt_vsplit.c index eebcabb0ea0..8098adea61f 100644 --- a/src/gallium/auxiliary/draw/draw_pt_vsplit.c +++ b/src/gallium/auxiliary/draw/draw_pt_vsplit.c @@ -91,7 +91,7 @@ vsplit_add_cache(struct vsplit_frontend *vsplit, unsigned fetch, unsigned ofbias hash = fetch % MAP_SIZE; - /* If the value isn't in the cache of it's an overflow due to the + /* If the value isn't in the cache or it's an overflow due to the * element bias */ if (vsplit->cache.fetches[hash] != fetch || ofbias) { /* update cache */