Use reinterpret_cast in VkBootstrapDispatch.h

This commit is contained in:
Charles Giessen 2022-02-05 20:39:07 -07:00 committed by Charles Giessen
parent a1e58b4227
commit 7aef0dc1c1
2 changed files with 431 additions and 431 deletions

View File

@ -223,7 +223,7 @@ pfn_load_section = ''
proxy_template = Template('\t$return_type $proxy_name($args_full) const noexcept {\n\t\t$opt_return$fp_name($args_names);\n\t}\n')
fp_decl_template = Template('\t$pfn_name $fp_name = nullptr;\n')
pfn_load_template = Template('\t\t$fp_name = ($pfn_name)procAddr(device, "$command_name");\n')
pfn_load_template = Template('\t\t$fp_name = reinterpret_cast<$pfn_name>(procAddr(device, "$command_name"));\n')
for command in device_commands:
params = device_commands[command]

File diff suppressed because it is too large Load Diff