summaryrefslogtreecommitdiff
path: root/src/vmware.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2011-02-16 18:53:14 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-02-16 19:50:34 +0100
commitc208a5380b20f910ab49433abc0d39dce6bb5528 (patch)
treebfe141474fb0b4dc77d991380068eb2f9c4597fb /src/vmware.h
parent2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96 (diff)
vmwlegacy: Fix mode lookup
In situations where we have trouble finding a specified mode, use the resolution given by the width and height device registers. Signed-off-by: Alan Hourihane <alanh@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'src/vmware.h')
-rw-r--r--src/vmware.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vmware.h b/src/vmware.h
index 9216dcd..3253a64 100644
--- a/src/vmware.h
+++ b/src/vmware.h
@@ -314,6 +314,8 @@ void vmwareCheckVideoSanity(
/* vmwaremode.c */
void vmwareGetSupportedModelines(
- DisplayModePtr *monitorModes
+ ScrnInfoPtr pScrn,
+ uint32 dwidth,
+ uint32 dheight
);
#endif