update MoonWorks

This commit is contained in:
cosmonaut 2024-03-08 15:51:37 -08:00
parent de2e6dd3b8
commit 6597e048ae
3 changed files with 4 additions and 5 deletions

@ -1 +1 @@
Subproject commit 9195e445b2473564563c917df611fcca4ea161d1
Subproject commit 69d2c9cc31450847830be3d8d945eb0a28147a27

View File

@ -5,6 +5,7 @@ using ImGuiNET;
using System.IO;
using MoonWorks.Math.Float;
using System;
using System.Runtime.InteropServices;
namespace MoonWorksDearImGuiScaffold;
@ -162,9 +163,7 @@ class MoonWorksDearImGuiScaffoldGame : Game
RenderCommandLists(commandBuffer, swapchainTexture, drawDataPtr, io);
}
var fence = GraphicsDevice.SubmitAndAcquireFence(commandBuffer);
GraphicsDevice.WaitForFences(fence);
GraphicsDevice.ReleaseFence(fence);
GraphicsDevice.Submit(commandBuffer);
}
protected override void Destroy()

View File

@ -32,7 +32,7 @@ class Program
MoonWorksDearImGuiScaffoldGame game = new MoonWorksDearImGuiScaffoldGame(
windowCreateInfo,
frameLimiterSettings,
[Backend.D3D11, Backend.Vulkan],
[Backend.Vulkan, Backend.D3D11],
debugMode
);