summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2012-03-19 14:53:34 +0100
committerJakob Bornecrantz <jakob@vmware.com>2012-03-20 22:17:55 +0100
commitc6f27561c7cf7c30f89493d64e3c5694b5f53469 (patch)
tree0a8aa6a46cbe8e6eca6e6eb0a2a781cdf7a07184 /src
parentb70116b907aa8545f0275589a52275235083bb40 (diff)
vmware/legacy: Fix crash on Xserver 1.12.0
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Zack Rusin <zackr@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/vmware.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vmware.c b/src/vmware.c
index f20ddb9..e3892f1 100644
--- a/src/vmware.c
+++ b/src/vmware.c
@@ -350,6 +350,10 @@ VMWAREPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE;
}
+#ifdef HAVE_XORG_SERVER_1_12_0
+ vgaHWSetStdFuncs(VGAHWPTR(pScrn));
+#endif
+
/*
* Save the current video state. Do it here before VMXGetVMwareSvgaId
* writes to any registers.