diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 09:58:01 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2012-06-09 05:54:30 +0200 |
commit | 61df95a86f4997e342d50d7779b00aba2e8849a6 (patch) | |
tree | 117cbcc8d4c27b926bd2951db9994329e02dc109 /src/vmware.h | |
parent | 46cdf0ed0ad9df66f36f95e27b209d454f67d526 (diff) |
vmware: port vmware driver to new compat API
This is a port of the vmware driver to the new compat API.
Tested-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/vmware.h')
-rw-r--r-- | src/vmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmware.h b/src/vmware.h index 458390a..4818e16 100644 --- a/src/vmware.h +++ b/src/vmware.h @@ -177,7 +177,7 @@ typedef struct { #define VMWAREPTR(p) ((VMWAREPtr)((p)->driverPrivate)) static __inline ScrnInfoPtr infoFromScreen(ScreenPtr s) { - return xf86Screens[s->myNum]; + return xf86ScreenToScrn(s); } #define MIN(a,b) ((a)<(b)?(a):(b)) |