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:
parent
84bb768a32
commit
5339f8df53
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user