Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
73f9cedd
Commit
73f9cedd
authored
Mar 23, 2018
by
Józef Kucia
Committed by
Alexandre Julliard
Mar 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Properly indent LOAD_FUNCPTR() for Vulkan functions.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eefc444f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
vulkan.c
dlls/winex11.drv/vulkan.c
+18
-18
No files found.
dlls/winex11.drv/vulkan.c
View file @
73f9cedd
...
...
@@ -133,24 +133,24 @@ static BOOL wine_vk_init(void)
if
(
!
(
vulkan_handle
=
wine_dlopen
(
SONAME_LIBVULKAN
,
RTLD_NOW
,
NULL
,
0
)))
return
FALSE
;
#define LOAD_FUNCPTR(f) if((p##f = wine_dlsym(vulkan_handle, #f, NULL, 0)) == NULL) return FALSE;
LOAD_FUNCPTR
(
vkAcquireNextImageKHR
)
LOAD_FUNCPTR
(
vkCreateInstance
)
LOAD_FUNCPTR
(
vkCreateSwapchainKHR
)
LOAD_FUNCPTR
(
vkCreateXlibSurfaceKHR
)
LOAD_FUNCPTR
(
vkDestroyInstance
)
LOAD_FUNCPTR
(
vkDestroySurfaceKHR
)
LOAD_FUNCPTR
(
vkDestroySwapchainKHR
)
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
)
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
)
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfacePresentModesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceSupportKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceXlibPresentationSupportKHR
)
LOAD_FUNCPTR
(
vkGetSwapchainImagesKHR
)
LOAD_FUNCPTR
(
vkQueuePresentKHR
)
#define LOAD_FUNCPTR(f) if
((p##f = wine_dlsym(vulkan_handle, #f, NULL, 0)) == NULL) return FALSE;
LOAD_FUNCPTR
(
vkAcquireNextImageKHR
)
LOAD_FUNCPTR
(
vkCreateInstance
)
LOAD_FUNCPTR
(
vkCreateSwapchainKHR
)
LOAD_FUNCPTR
(
vkCreateXlibSurfaceKHR
)
LOAD_FUNCPTR
(
vkDestroyInstance
)
LOAD_FUNCPTR
(
vkDestroySurfaceKHR
)
LOAD_FUNCPTR
(
vkDestroySwapchainKHR
)
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
)
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
)
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfacePresentModesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceSupportKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceXlibPresentationSupportKHR
)
LOAD_FUNCPTR
(
vkGetSwapchainImagesKHR
)
LOAD_FUNCPTR
(
vkQueuePresentKHR
)
#undef LOAD_FUNCPTR
wine_vk_load_instance_extensions
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment