Skip to content

Commit

Permalink
Linux: fixed build (attempt #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhdanNV committed Aug 23, 2024
1 parent 6bed5f8 commit 9e5fee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/VK/DeviceVK.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,11 @@ static VKHandle NRI_CALL GetInstanceVK(const Device& device) {
}

static void* NRI_CALL GetInstanceProcAddrVK(const Device& device) {
return ((DeviceVK&)device).GetDispatchTable().GetInstanceProcAddr;
return (void*)((DeviceVK&)device).GetDispatchTable().GetInstanceProcAddr;
}

static void* NRI_CALL GetDeviceProcAddrVK(const Device& device) {
return ((DeviceVK&)device).GetDispatchTable().GetDeviceProcAddr;
return (void*)((DeviceVK&)device).GetDispatchTable().GetDeviceProcAddr;
}

Result DeviceVK::FillFunctionTable(WrapperVKInterface& table) const {
Expand Down

0 comments on commit 9e5fee8

Please sign in to comment.