diff options
author | Andres Gomez <agomez@igalia.com> | 2014-11-18 06:49:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2014-11-18 08:47:03 -0700 |
commit | 2d5af04bae0668ce9e081f06f1dd4b25528e27e8 (patch) | |
tree | 152c6a37a7bcfb539e9e3ce09437a822186a7c41 | |
parent | 74f505fa73eda0c9b5b1984bebb44cedac8e8794 (diff) | |
download | external_mesa3d-2d5af04bae0668ce9e081f06f1dd4b25528e27e8.zip external_mesa3d-2d5af04bae0668ce9e081f06f1dd4b25528e27e8.tar.gz external_mesa3d-2d5af04bae0668ce9e081f06f1dd4b25528e27e8.tar.bz2 |
draw: Fixed inline comments
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | src/gallium/auxiliary/draw/draw_private.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_vsplit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index d8dc2ab..37045eb 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 eebcabb..8098ade 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 */ |