From: Marek Olšák Date: Fri, 25 Aug 2017 13:34:00 +0000 (+0200) Subject: gallium/u_threaded: fix a typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddc9b4e823a9e788f530a17dcf260dcc9f26a156;p=mesa.git gallium/u_threaded: fix a typo --- diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index a9fc6701739..cbcd4056b29 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -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;