draw: Fixed inline comments
authorAndres Gomez <agomez@igalia.com>
Tue, 18 Nov 2014 13:49:00 +0000 (06:49 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Nov 2014 15:47:03 +0000 (08:47 -0700)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt_vsplit.c

index d8dc2ab0bae9a1574143ffd289a427b4df9c143e..37045ebb029613a9ad1f5a10e50cf5114c694c35 100644 (file)
@@ -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,
index eebcabb0ea00db7d00020bd036d0d86cb7baf6a0..8098adea61f3838186acb815725e737d1128587f 100644 (file)
@@ -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 */