mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Various improvements and cleanups.
This commit is contained in:
12
src/Vortice.Win32.Graphics.Dxgi/Apis.cs
Normal file
12
src/Vortice.Win32.Graphics.Dxgi/Apis.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright © Amer Koleci and Contributors.
|
||||
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
||||
|
||||
namespace Win32.Graphics.Dxgi;
|
||||
|
||||
unsafe partial class Apis
|
||||
{
|
||||
public static HResult CreateDXGIFactory2(bool debug, Guid* riid, void** ppFactory)
|
||||
{
|
||||
return CreateDXGIFactory2(debug ? DXGI_CREATE_FACTORY_DEBUG : 0u, riid, ppFactory);
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>
|
||||
<Description>Dxgi bindings.</Description>
|
||||
|
||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||
|
||||
Reference in New Issue
Block a user