Replace fbdev by wsfb as fallback driver on arches that support it.

Ok todd@, oga@.
This commit is contained in:
matthieu 2009-10-27 20:49:51 +00:00
parent 7c6c363ef1
commit b6548f4956

View File

@ -522,7 +522,11 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
/* Fallback to platform default frame buffer driver */
if (i < (nmatches - 1)) {
#if !defined(__linux__) && defined(__sparc__)
#if defined(__OpenBSD__)
# if !defined(__i386__) && !defined(__amd64__)
matches[i++] = xnfstrdup("wsfb");
# endif
#elif !defined(__linux__) && defined(__sparc__)
matches[i++] = xnfstrdup("wsfb");
#else
matches[i++] = xnfstrdup("fbdev");