From 2e0763088f8e159b414cec5c056cc4c91a34766e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 4 Jul 2014 12:26:43 +0100 Subject: sna: Fix typo s/num_threads/max_threads/ Signed-off-by: Chris Wilson --- src/sna/sna_threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3