diff options
author | Alan Hourihane <alanh@vmware.com> | 2011-02-16 18:53:14 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2011-02-16 19:50:34 +0100 |
commit | c208a5380b20f910ab49433abc0d39dce6bb5528 (patch) | |
tree | bfe141474fb0b4dc77d991380068eb2f9c4597fb /src/vmware.h | |
parent | 2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96 (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.h | 4 |
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 |