Update json to metadata to 61.0.15-preview, regenerate bindings and bump version to 2.2.0

This commit is contained in:
Amer Koleci
2024-06-28 12:42:38 +02:00
parent 9c485db26e
commit 715ca3aa39
210 changed files with 11334 additions and 1401 deletions

View File

@@ -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);