Pass additional GraphicsDeviceOptions.

internals
Eric Mellino 4 years ago
parent 92b3afdf82
commit b0cd7eb36a
  1. 2
      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 += () =>

Loading…
Cancel
Save