summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2012-04-28 19:20:15 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2024-08-02 08:34:45 +0200
commit3adfa008e6381ab9426191ed4913ac9a78e5b354 (patch)
treeb16e5228d056045d54cee2f31e25a14e06705b1a
parente7f40028772bb96c0092fe4355fcf121da1dcfff (diff)
vbe/int10: Fix for OpenBSDobsd
-rw-r--r--src/atipreinit.c2
1 files changed, 2 insertions, 0 deletions
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;