mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 01:34:32 +00:00 
			
		
		
		
	Revert "Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542)"
This reverts commit f2c7f3b200.
			
			
This commit is contained in:
		@@ -207,8 +207,8 @@ int main(int, char**)
 | 
			
		||||
        {
 | 
			
		||||
            SDL_Window* backup_current_window = SDL_GL_GetCurrentWindow();
 | 
			
		||||
            SDL_GLContext backup_current_context = SDL_GL_GetCurrentContext();
 | 
			
		||||
            ImGui::PlatformWindowsUpdate();
 | 
			
		||||
            ImGui::PlatformWindowsRender();
 | 
			
		||||
            ImGui::UpdatePlatformWindows();
 | 
			
		||||
            ImGui::RenderPlatformWindowsDefault();
 | 
			
		||||
            SDL_GL_MakeCurrent(backup_current_window, backup_current_context);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user