From b0cd7eb36ae41bc2cf43b8d8c9f493d5061c29de Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Thu, 24 Dec 2020 12:47:23 -0800 Subject: [PATCH] Pass additional GraphicsDeviceOptions. --- src/ImGui.NET.SampleProgram/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImGui.NET.SampleProgram/Program.cs b/src/ImGui.NET.SampleProgram/Program.cs index bc93d83..8b2c381 100644 --- a/src/ImGui.NET.SampleProgram/Program.cs +++ b/src/ImGui.NET.SampleProgram/Program.cs @@ -36,7 +36,7 @@ namespace ImGuiNET // Create window, GraphicsDevice, and all resources necessary for the demo. VeldridStartup.CreateWindowAndGraphicsDevice( new WindowCreateInfo(50, 50, 1280, 720, WindowState.Normal, "ImGui.NET Sample Program"), - new GraphicsDeviceOptions(true, null, true), + new GraphicsDeviceOptions(true, null, true, ResourceBindingModel.Improved, true, true), out _window, out _gd); _window.Resized += () =>