diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-04 12:26:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-04 12:26:43 +0100 |
commit | 2e0763088f8e159b414cec5c056cc4c91a34766e (patch) | |
tree | 8947ead5d9bfd71131033ea33a442aab8bda0971 /src/sna/sna_threads.c | |
parent | 04ddea075e9e07cf3158594130d5ba7d1f50f7f1 (diff) |
sna: Fix typo s/num_threads/max_threads/
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_threads.c')
-rw-r--r-- | src/sna/sna_threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_threads.c b/src/sna/sna_threads.c index e2bb8042..83b180f8 100644 --- a/src/sna/sna_threads.c +++ b/src/sna/sna_threads.c @@ -259,7 +259,7 @@ int sna_use_threads(int width, int height, int threshold) if (max_threads <= 0) return 1; - if (height <= num_threads) + if (height <= max_threads) return height; if (width < 128) |