Skip to content

Commit d7b35d3

Browse files
EeveelutionPerksey
andauthored
Add DXGI_CREATE_FACTORY_DEBUG Constant to DXGI (#805)
* Add DXGI_CREATE_FACTORY_DEBUG Constant to DXGI * Move it to the top of the class * Remove unnecessary whitespace * Apply suggestions from code review Co-authored-by: Dylan Perks <[email protected]>
1 parent a73efd5 commit d7b35d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Microsoft/Silk.NET.DXGI/DXGI.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ namespace Silk.NET.DXGI
1010
{
1111
public partial class DXGI
1212
{
13+
[NativeName("Type", "unsigned int")]
14+
[NativeName("Name", "DXGI_CREATE_FACTORY_DEBUG")]
15+
public const uint CreateFactoryDebug = unchecked((uint) 0x1);
16+
1317
public static DXGI GetApi()
1418
{
1519
return new DXGI(CreateDefaultContext(new DXGILibraryNameContainer().GetLibraryName()));

0 commit comments

Comments
 (0)