blob: 96ffcc9dfa994390a0c9a02b938d8a6d4aa92ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Make sure we can compile when video mode switching has been disabled.
http://bugs.gentoo.org/show_bug.cgi?id=87716
By Wormo <@gentoo.org>
--- src/draw.c
+++ src/draw.c
@@ -3847,6 +3847,7 @@
}
#endif
+#ifdef USE_XF86VM
// Selects the mode with the highest vertical refresh frequency
// from all modes with resolution iResX and iResY.
// Returns -1 if no mode is found.
@@ -3871,6 +3872,7 @@
}
return bestmode;
}
+#endif
// Create display
|