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
19eba8d9
Commit
19eba8d9
authored
Nov 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winewayland: Remove now unnecessary VK_ERROR_SURFACE_LOST_KHR checks.
parent
844d4cd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
vulkan.c
dlls/winewayland.drv/vulkan.c
+0
-15
No files found.
dlls/winewayland.drv/vulkan.c
View file @
19eba8d9
...
@@ -555,9 +555,6 @@ static VkResult wayland_vkGetDeviceGroupSurfacePresentModesKHR(VkDevice device,
...
@@ -555,9 +555,6 @@ static VkResult wayland_vkGetDeviceGroupSurfacePresentModesKHR(VkDevice device,
TRACE
(
"%p, 0x%s, %p
\n
"
,
device
,
wine_dbgstr_longlong
(
surface
),
flags
);
TRACE
(
"%p, 0x%s, %p
\n
"
,
device
,
wine_dbgstr_longlong
(
surface
),
flags
);
if
(
!
wine_vk_surface_is_valid
(
wine_vk_surface
))
return
VK_ERROR_SURFACE_LOST_KHR
;
return
pvkGetDeviceGroupSurfacePresentModesKHR
(
device
,
wine_vk_surface
->
host_surface
,
flags
);
return
pvkGetDeviceGroupSurfacePresentModesKHR
(
device
,
wine_vk_surface
->
host_surface
,
flags
);
}
}
...
@@ -675,9 +672,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice p
...
@@ -675,9 +672,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice p
TRACE
(
"%p, %p, %p, %p
\n
"
,
phys_dev
,
surface_info
,
count
,
formats
);
TRACE
(
"%p, %p, %p, %p
\n
"
,
phys_dev
,
surface_info
,
count
,
formats
);
if
(
!
wine_vk_surface_is_valid
(
wine_vk_surface
))
return
VK_ERROR_SURFACE_LOST_KHR
;
surface_info_host
=
*
surface_info
;
surface_info_host
=
*
surface_info
;
surface_info_host
.
surface
=
wine_vk_surface
->
host_surface
;
surface_info_host
.
surface
=
wine_vk_surface
->
host_surface
;
...
@@ -724,9 +718,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice ph
...
@@ -724,9 +718,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice ph
TRACE
(
"%p, 0x%s, %p, %p
\n
"
,
phys_dev
,
wine_dbgstr_longlong
(
surface
),
count
,
formats
);
TRACE
(
"%p, 0x%s, %p, %p
\n
"
,
phys_dev
,
wine_dbgstr_longlong
(
surface
),
count
,
formats
);
if
(
!
wine_vk_surface_is_valid
(
wine_vk_surface
))
return
VK_ERROR_SURFACE_LOST_KHR
;
return
pvkGetPhysicalDeviceSurfaceFormatsKHR
(
phys_dev
,
wine_vk_surface
->
host_surface
,
return
pvkGetPhysicalDeviceSurfaceFormatsKHR
(
phys_dev
,
wine_vk_surface
->
host_surface
,
count
,
formats
);
count
,
formats
);
}
}
...
@@ -740,9 +731,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevi
...
@@ -740,9 +731,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevi
TRACE
(
"%p, 0x%s, %p, %p
\n
"
,
phys_dev
,
wine_dbgstr_longlong
(
surface
),
count
,
modes
);
TRACE
(
"%p, 0x%s, %p, %p
\n
"
,
phys_dev
,
wine_dbgstr_longlong
(
surface
),
count
,
modes
);
if
(
!
wine_vk_surface_is_valid
(
wine_vk_surface
))
return
VK_ERROR_SURFACE_LOST_KHR
;
return
pvkGetPhysicalDeviceSurfacePresentModesKHR
(
phys_dev
,
wine_vk_surface
->
host_surface
,
return
pvkGetPhysicalDeviceSurfacePresentModesKHR
(
phys_dev
,
wine_vk_surface
->
host_surface
,
count
,
modes
);
count
,
modes
);
}
}
...
@@ -756,9 +744,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice ph
...
@@ -756,9 +744,6 @@ static VkResult wayland_vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice ph
TRACE
(
"%p, %u, 0x%s, %p
\n
"
,
phys_dev
,
index
,
wine_dbgstr_longlong
(
surface
),
supported
);
TRACE
(
"%p, %u, 0x%s, %p
\n
"
,
phys_dev
,
index
,
wine_dbgstr_longlong
(
surface
),
supported
);
if
(
!
wine_vk_surface_is_valid
(
wine_vk_surface
))
return
VK_ERROR_SURFACE_LOST_KHR
;
return
pvkGetPhysicalDeviceSurfaceSupportKHR
(
phys_dev
,
index
,
wine_vk_surface
->
host_surface
,
return
pvkGetPhysicalDeviceSurfaceSupportKHR
(
phys_dev
,
index
,
wine_vk_surface
->
host_surface
,
supported
);
supported
);
}
}
...
...
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