mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update json to metadata to 61.0.15-preview, regenerate bindings and bump version to 2.2.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright © Amer Koleci and Contributors.
|
||||
// Copyright (c) Amer Koleci and contributors.
|
||||
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
||||
|
||||
using System.Numerics;
|
||||
@@ -120,14 +120,14 @@ public static unsafe class Program
|
||||
TestD2D1AndDWrite();
|
||||
|
||||
using ComPtr<IDXGIFactory2> factory = default;
|
||||
uint factoryFlags = 0;
|
||||
CreateFactoryFlags factoryFlags = CreateFactoryFlags.None;
|
||||
|
||||
#if DEBUG
|
||||
{
|
||||
using ComPtr<IDXGIInfoQueue> dxgiInfoQueue = default;
|
||||
if (DXGIGetDebugInterface1(0, __uuidof<IDXGIInfoQueue>(), (void**)dxgiInfoQueue.GetAddressOf()).Success)
|
||||
{
|
||||
factoryFlags = DXGI_CREATE_FACTORY_DEBUG;
|
||||
factoryFlags = CreateFactoryFlags.Debug;
|
||||
|
||||
dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Error, true);
|
||||
dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Corruption, true);
|
||||
|
||||
Reference in New Issue
Block a user