mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 01:34:32 +00:00 
			
		
		
		
	Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. (#6334, #6335)
Amended with fix for missing clear for ImGuiBackendFlags_HasGamepad.
This commit is contained in:
		@@ -191,6 +191,8 @@ void ImGui_ImplGLUT_InstallFuncs()
 | 
			
		||||
 | 
			
		||||
void ImGui_ImplGLUT_Shutdown()
 | 
			
		||||
{
 | 
			
		||||
    ImGuiIO& io = ImGui::GetIO();
 | 
			
		||||
    io.BackendPlatformName = nullptr;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ImGui_ImplGLUT_NewFrame()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user