mirror of
				https://github.com/maxartz15/MoonWorksDearImGuiScaffold.git
				synced 2025-11-03 23:06:26 +01:00 
			
		
		
		
	update MoonWorks
This commit is contained in:
		 Submodule lib/MoonWorks updated: 9195e445b2...69d2c9cc31
									
								
							@@ -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
 | 
			
		||||
		);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user