Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7e36a9d6
Commit
7e36a9d6
authored
May 31, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove no longer needed #ifdefs.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b02e18f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
vulkan.c
dlls/winevulkan/vulkan.c
+1
-8
No files found.
dlls/winevulkan/vulkan.c
View file @
7e36a9d6
...
...
@@ -122,11 +122,7 @@ static uint64_t wine_vk_get_wrapper(struct VkInstance_T *instance, uint64_t nati
static
VkBool32
debug_utils_callback_conversion
(
VkDebugUtilsMessageSeverityFlagBitsEXT
severity
,
VkDebugUtilsMessageTypeFlagsEXT
message_types
,
#if defined(USE_STRUCT_CONVERSION)
const
VkDebugUtilsMessengerCallbackDataEXT_host
*
callback_data
,
#else
const
VkDebugUtilsMessengerCallbackDataEXT
*
callback_data
,
#endif
void
*
user_data
)
{
struct
VkDebugUtilsMessengerCallbackDataEXT
wine_callback_data
;
...
...
@@ -640,11 +636,8 @@ VkResult WINAPI wine_vkAllocateCommandBuffers(VkDevice device,
for
(
i
=
0
;
i
<
allocate_info
->
commandBufferCount
;
i
++
)
{
#if defined(USE_STRUCT_CONVERSION)
VkCommandBufferAllocateInfo_host
allocate_info_host
;
#else
VkCommandBufferAllocateInfo
allocate_info_host
;
#endif
/* TODO: future extensions (none yet) may require pNext conversion. */
allocate_info_host
.
pNext
=
allocate_info
->
pNext
;
allocate_info_host
.
sType
=
allocate_info
->
sType
;
...
...
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