mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[tests] Fix d3d9_triangle
This commit is contained in:
parent
84bb768a32
commit
5339f8df53
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue