From 3adfa008e6381ab9426191ed4913ac9a78e5b354 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 28 Apr 2012 19:20:15 +0200 Subject: vbe/int10: Fix for OpenBSD --- src/atipreinit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/atipreinit.c b/src/atipreinit.c index 699e95e..03625b0 100644 --- a/src/atipreinit.c +++ b/src/atipreinit.c @@ -689,7 +689,9 @@ ATIPreInit #ifndef TV_OUT /* De-activate VBE */ vbeFree(pVBE); +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 xf86UnloadSubModule(pVBEModule); +#endif #else pATI->pVBE = pVBE; pVBE = NULL; -- cgit v1.2.3