[PATCH] winex11.drv: Handle Vulkan surface creation with NULL hwnd.

Rémi Bernon rbernon at codeweavers.com
Fri Apr 30 09:20:36 CDT 2021


On 4/30/21 4:18 PM, Paul Gofman wrote:
> On 4/30/21 17:13, Rémi Bernon wrote:
>>
>> Maybe we could just use the dummy parent window as a backing window
>> instead of creating a new one, returning it from create_client_window
>> when hwnd parameter is NULL?
> 
> We are using vkCreateXlibSurfaceKHR() with this window. Reusing the same
> X window for that looks like undefined behaviour and overall rather
> fragile to me.
> 

Yeah indeed.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list