summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 8e32c5fe..83cda8ce 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -547,7 +547,7 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
flags24 = Support32bppFb | PreferConvert24to32 | SupportConvert24to32;
- preferred_depth = sna->info->gen < 040 ? 15 : 24;
+ preferred_depth = sna->info->gen < 030 ? 15 : 24;
if (!fb_supports_depth(fd, preferred_depth))
preferred_depth = 24;