winevulkan: Make core function thunks static.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-05-31 18:01:42 +02:00 committed by Alexandre Julliard
parent 272542f496
commit 8285f61603
2 changed files with 170 additions and 173 deletions

View File

@ -2660,13 +2660,10 @@ class VkGenerator(object):
if not vk_func.needs_thunk():
continue
# Exports symbols for Core functions.
if not vk_func.is_core_func() and not vk_func.needs_private_thunk():
f.write("static ")
if vk_func.needs_private_thunk():
f.write(vk_func.thunk(prefix="thunk_"))
else:
f.write("static ")
f.write(vk_func.thunk(prefix=prefix, call_conv="WINAPI"))
# Create array of device extensions.

File diff suppressed because it is too large Load Diff