Skip to content
Commit d70d8b2f authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Juan A. Suarez Romero
Browse files

vulkan/overlay: fix truncating error on 32bit platforms



Non dispatchable handles can be uint64_t. When compiling the layer on
a 32bit platform, this will lead to casting uint64_t into (void *)
which is 32bit, leading to incorrect handles being mapped internally
in the layer.

v2: Use more HKEY() (Eric)

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reported-by: default avatarJózef Kucia <joseph.kucia@gmail.com>
Fixes: 2d292793 ("vulkan/overlay-layer: fix cast errors")
Reviewed-by: default avatarJózef Kucia <joseph.kucia@gmail.com>
(cherry picked from commit 877b371c)
[Juan: resolve trivial conflicts]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>

Conflicts:
	src/vulkan/overlay-layer/overlay.cpp
parent 558a067d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment