mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Viewport: Avoid calling platform functions when window is not created (apart from Platform_GetWindowDpiScale, documented as such). Main viewport situation is still ambiguous. (#1542)
This commit is contained in:
		| @@ -848,7 +848,7 @@ struct ImGuiContext | ||||
|  | ||||
|     // Platform support | ||||
|     ImVec2                  PlatformImePos, PlatformImeLastPos; // Cursor position request & last passed to the OS Input Method Editor | ||||
|     ImGuiViewport*          PlatformImePosViewport; | ||||
|     ImGuiViewportP*         PlatformImePosViewport; | ||||
|  | ||||
|     // Settings | ||||
|     bool                           SettingsLoaded; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user