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:
parent
272542f496
commit
8285f61603
|
@ -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
Loading…
Reference in New Issue