summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gx_driver.c2
-rw-r--r--src/lx_driver.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gx_driver.c b/src/gx_driver.c
index 47c20d2..b9904d1 100644
--- a/src/gx_driver.c
+++ b/src/gx_driver.c
@@ -445,6 +445,8 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
if (pGeode->useVGA) {
if (!xf86LoadSubModule(pScrni, "vgahw") || !vgaHWGetHWRec(pScrni))
pGeode->useVGA = FALSE;
+ else
+ vgaHWSetStdFuncs(VGAHWPTR(pScrni));
#if INT10_SUPPORT
pGeode->vesa = calloc(1, sizeof(VESARec));
diff --git a/src/lx_driver.c b/src/lx_driver.c
index a17854c..146d7c3 100644
--- a/src/lx_driver.c
+++ b/src/lx_driver.c
@@ -312,6 +312,8 @@ LXPreInit(ScrnInfoPtr pScrni, int flags)
if (pGeode->useVGA) {
if (!xf86LoadSubModule(pScrni, "vgahw") || !vgaHWGetHWRec(pScrni))
pGeode->useVGA = FALSE;
+ else
+ vgaHWSetStdFuncs(VGAHWPTR(pScrni));
pGeode->vesa = calloc(1, sizeof(VESARec));
}