Commit 8285f616 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winevulkan: Make core function thunks static.

parent 272542f4
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment