Use platform's default backend in sample program.

internals
Eric Mellino 6 years ago
parent 7a31d16cc1
commit bb8b9ecc0c
  1. 1
      src/ImGui.NET.SampleProgram/Program.cs

@ -35,7 +35,6 @@ namespace ImGuiNET
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),
GraphicsBackend.Vulkan,
out _window, out _window,
out _gd); out _gd);
_window.Resized += () => _window.Resized += () =>

Loading…
Cancel
Save