Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit f60c34e

Browse files
authored
Merge pull request #1021 from Ziriax/issue_1020
Renamed DXGI.Debug to DXGI.DXGIDebug
2 parents e388915 + 35e1be9 commit f60c34e

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
using System;
2121

2222
namespace SharpDX.DXGI
23-
{
24-
public partial class Debug
23+
{
24+
public partial class DXGIDebug
2525
{
2626
/// <summary>
2727
/// If the DXGI debug layer is installed (e.g. on developer machines), creates the DXGI Debug object.
@@ -30,9 +30,9 @@ public partial class Debug
3030
/// <remarks>
3131
/// Currently doesn't work for Windows Store (aka UWP) apps
3232
/// </remarks>
33-
public static Debug TryCreate()
33+
public static DXGIDebug TryCreate()
3434
{
35-
return DebugInterface.TryCreateComPtr<Debug>(out IntPtr comPtr) ? new Debug(comPtr) : null;
35+
return DebugInterface.TryCreateComPtr<DXGIDebug>(out IntPtr comPtr) ? new DXGIDebug(comPtr) : null;
3636
}
3737
}
3838
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace SharpDX.DXGI
2323
{
24-
public partial class Debug1
24+
public partial class DXGIDebug1
2525
{
2626
/// <summary>
2727
/// If the DXGI debug layer is installed (e.g. on developer machines), creates the DXGI Debug1 object.
@@ -30,9 +30,9 @@ public partial class Debug1
3030
/// <remarks>
3131
/// Currently doesn't work for Windows Store (aka UWP) apps
3232
/// </remarks>
33-
public new static Debug1 TryCreate()
33+
public new static DXGIDebug1 TryCreate()
3434
{
35-
return DebugInterface.TryCreateComPtr<Debug1>(out IntPtr comPtr) ? new Debug1(comPtr) : null;
35+
return DebugInterface.TryCreateComPtr<DXGIDebug1>(out IntPtr comPtr) ? new DXGIDebug1(comPtr) : null;
3636
}
3737
}
3838
}

Source/SharpDX.DXGI/Mapping.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@
174174
<map interface="IDXGI(.+)" name-tmp="$1" />
175175
<map interface="IDXGIObject" name="DXGIObject" />
176176
<map interface="IDXGIDeviceSubObject" name="DeviceChild" />
177+
<map interface="IDXGIDebug" name="DXGIDebug" />
178+
<map interface="IDXGIDebug1" name="DXGIDebug1" />
177179

178180
<map method=".*::GetPrivateData" check="false"/>
179181

0 commit comments

Comments
 (0)