mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Android: Amend backend and examples with minor consistency tweaks. (#3446)
This commit is contained in:
parent
fb85c0341b
commit
8dd692c29c
12 changed files with 236 additions and 229 deletions
|
|
@ -731,7 +731,7 @@ void ImGui_ImplWGPU_InvalidateDeviceObjects()
|
|||
|
||||
bool ImGui_ImplWGPU_Init(WGPUDevice device, int num_frames_in_flight, WGPUTextureFormat rt_format)
|
||||
{
|
||||
// Setup back-end capabilities flags
|
||||
// Setup backend capabilities flags
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.BackendRendererName = "imgui_impl_webgpu";
|
||||
io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; // We can honor the ImDrawCmd::VtxOffset field, allowing for large meshes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue