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
c83f86be
Commit
c83f86be
authored
Nov 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Implement vkGetPhysicalDeviceSurfaceCapabilities2KHR fallback.
parent
32e56bd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
vulkan.c
dlls/winevulkan/vulkan.c
+8
-0
No files found.
dlls/winevulkan/vulkan.c
View file @
c83f86be
...
...
@@ -1881,6 +1881,14 @@ VkResult wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice device
struct
wine_instance
*
instance
=
physical_device
->
instance
;
VkResult
res
;
if
(
!
instance
->
funcs
.
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
)
{
/* Until the loader version exporting this function is common, emulate it using the older non-2 version. */
if
(
surface_info
->
pNext
||
capabilities
->
pNext
)
FIXME
(
"Emulating vkGetPhysicalDeviceSurfaceCapabilities2KHR, ignoring pNext.
\n
"
);
return
wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
device_handle
,
surface_info
->
surface
,
&
capabilities
->
surfaceCapabilities
);
}
surface_info_host
.
surface
=
surface
->
driver_surface
;
if
(
!
NtUserIsWindow
(
surface
->
hwnd
))
return
VK_ERROR_SURFACE_LOST_KHR
;
...
...
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