[PATCH 5/9] dxgi: Create Vulkan swapchains for D3D12.

Józef Kucia joseph.kucia at gmail.com
Wed May 30 08:59:02 CDT 2018


On Wed, May 30, 2018 at 3:42 PM, Henri Verbeet <hverbeet at gmail.com> wrote:
> On 30 May 2018 at 12:18, Józef Kucia <jkucia at codeweavers.com> wrote:
>> diff --git a/dlls/dxgi/dxgi_main.c b/dlls/dxgi/dxgi_main.c
>> index df8761bdce09..8e49f6f84fe1 100644
>> --- a/dlls/dxgi/dxgi_main.c
>> +++ b/dlls/dxgi/dxgi_main.c
>> @@ -45,6 +45,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
>>      {
>>          case DLL_PROCESS_ATTACH:
>>              DisableThreadLibraryCalls(inst);
>> +            init_vkd3d();
> Do we really want to do that in DllMain()?

Right, we may do that just before creating a Direct3D 12 swapchain.



More information about the wine-devel mailing list