summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-08-25 15:34:00 +0200
committerMarek Olšák <[email protected]>2017-08-25 15:40:28 +0200
commitddc9b4e823a9e788f530a17dcf260dcc9f26a156 (patch)
treebe974ac1389d867e596ba732a7d5ac768088e5af /src
parent79ee1b2ff0b85f4eeb4165d23a7943c28d3a3d93 (diff)
gallium/u_threaded: fix a typo
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_threaded_context.c2
1 files changed, 1 insertions, 1 deletions
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;