gallium/u_threaded: fix a typo
authorMarek Olšák <marek.olsak@amd.com>
Fri, 25 Aug 2017 13:34:00 +0000 (15:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 25 Aug 2017 13:40:28 +0000 (15:40 +0200)
src/gallium/auxiliary/util/u_threaded_context.c

index a9fc6701739dbc5c88fcb30e5365d0cf3e1ec98b..cbcd4056b2976dadb047af815185552dfe4fb151 100644 (file)
@@ -1297,7 +1297,7 @@ tc_improve_map_buffer_flags(struct threaded_context *tc,
 
    /* Handle CPU reads trivially. */
    if (usage & PIPE_TRANSFER_READ) {
-      /* Driver aren't allowed to do buffer invalidations. */
+      /* Drivers aren't allowed to do buffer invalidations. */
       return (usage & ~PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE) |
              TC_TRANSFER_MAP_NO_INVALIDATE |
              TC_TRANSFER_MAP_IGNORE_VALID_RANGE;