Demo: Added 'Examples->Fullscreen Window' demo. (#3789) + repack and zero-clear ImDrawData.

This commit is contained in:
ocornut
2021-02-05 12:24:23 +01:00
parent 58a0a7058c
commit b898281e3c
4 changed files with 37 additions and 8 deletions

View File

@ -75,7 +75,7 @@ int main(int, char**)
//ImGui::StyleColorsClassic();
// Setup Platform/Renderer backends
ImGui_ImplGlfw_InitForVulkan(window, true);
ImGui_ImplGlfw_InitForWebGPU(window, true);
ImGui_ImplWGPU_Init(wgpu_device, 3, WGPUTextureFormat_RGBA8Unorm);
// Load Fonts