diff options
author | Andre Heider <[email protected]> | 2019-04-11 08:42:47 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2019-04-20 13:06:29 +0200 |
commit | 8b13aac9666951bade6ac5fff9eb7c45a7d2748a (patch) | |
tree | a298760f45980121af4c404700f76836964b7565 /include | |
parent | 828ec411545ee6cdcabe228002fca3e4c5d14274 (diff) |
st/nine: skip position checks in SetCursorPosition()
For HW cursors, "cursor.pos" doesn't hold the current position of the
pointer, just the position of the last call to SetCursorPosition().
Skip the check against stale values and bump the d3dadapter9 drm version
to expose this change of behaviour.
Signed-off-by: Andre Heider <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/d3dadapter/drm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/d3dadapter/drm.h b/include/d3dadapter/drm.h index 647f017fc7f..6939dd4f239 100644 --- a/include/d3dadapter/drm.h +++ b/include/d3dadapter/drm.h @@ -29,11 +29,14 @@ #define D3DADAPTER9DRM_NAME "drm" /* current version */ #define D3DADAPTER9DRM_MAJOR 0 -#define D3DADAPTER9DRM_MINOR 1 +#define D3DADAPTER9DRM_MINOR 2 /* version 0.0: Initial release * 0.1: All IDirect3D objects can be assumed to have a pointer to the - * internal vtable in second position of the structure */ + * internal vtable in second position of the structure + * 0.2: IDirect3DDevice9_SetCursorPosition always calls + * ID3DPresent_SetCursorPos for hardware cursors + */ struct D3DAdapter9DRM { |