mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Enable debug layer.
This commit is contained in:
parent
4503e8b23a
commit
d406723049
@ -117,5 +117,13 @@ static void test_create_device(void)
|
|||||||
|
|
||||||
START_TEST(d3d12)
|
START_TEST(d3d12)
|
||||||
{
|
{
|
||||||
|
ID3D12Debug *debug;
|
||||||
|
|
||||||
|
if (SUCCEEDED(D3D12GetDebugInterface(&IID_ID3D12Debug, (void **)&debug)))
|
||||||
|
{
|
||||||
|
ID3D12Debug_EnableDebugLayer(debug);
|
||||||
|
ID3D12Debug_Release(debug);
|
||||||
|
}
|
||||||
|
|
||||||
test_create_device();
|
test_create_device();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user