mirror of
https://github.com/maxartz15/MoonWorksDearImGuiScaffold.git
synced 2024-11-21 23:15:39 +01:00
update MoonWorks
This commit is contained in:
parent
de2e6dd3b8
commit
6597e048ae
@ -1 +1 @@
|
||||
Subproject commit 9195e445b2473564563c917df611fcca4ea161d1
|
||||
Subproject commit 69d2c9cc31450847830be3d8d945eb0a28147a27
|
@ -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()
|
||||
|
@ -32,7 +32,7 @@ class Program
|
||||
MoonWorksDearImGuiScaffoldGame game = new MoonWorksDearImGuiScaffoldGame(
|
||||
windowCreateInfo,
|
||||
frameLimiterSettings,
|
||||
[Backend.D3D11, Backend.Vulkan],
|
||||
[Backend.Vulkan, Backend.D3D11],
|
||||
debugMode
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user