|
|
@ -36,7 +36,7 @@ namespace ImGuiNET |
|
|
|
// Create window, GraphicsDevice, and all resources necessary for the demo. |
|
|
|
// Create window, GraphicsDevice, and all resources necessary for the demo. |
|
|
|
VeldridStartup.CreateWindowAndGraphicsDevice( |
|
|
|
VeldridStartup.CreateWindowAndGraphicsDevice( |
|
|
|
new WindowCreateInfo(50, 50, 1280, 720, WindowState.Normal, "ImGui.NET Sample Program"), |
|
|
|
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 _window, |
|
|
|
out _gd); |
|
|
|
out _gd); |
|
|
|
_window.Resized += () => |
|
|
|
_window.Resized += () => |
|
|
|