1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 01:54:16 +01:00

[tests] Fix d3d9_triangle

This commit is contained in:
Joshua Ashton 2020-05-19 04:06:55 +01:00
parent 84bb768a32
commit 5339f8df53

View File

@ -116,6 +116,9 @@ public:
nullptr,
&m_device);
if (FAILED(status))
throw DxvkError("Failed to create D3D9 device");
// Funny Swapchain Refcounting
// "One of the things COM does really well, is lifecycle management"
// Implicit Swapchain
@ -165,9 +168,6 @@ public:
m_device->GetSwapChain(0, &swapchain);
m_device->AddRef();
if (FAILED(status))
throw DxvkError("Failed to create D3D9 device");
// Vertex Shader
{