mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	This commit is contained in:
		| @@ -2,6 +2,10 @@ | ||||
| // This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..) | ||||
| // (Note: We are using GL3W as a helper library to access OpenGL functions since there is no standard header to access modern OpenGL functions easily. Alternatives are GLEW, Glad, etc..) | ||||
|  | ||||
| // Implemented features: | ||||
| //  [X] User texture binding. Use 'GLUint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. | ||||
| //  [X] Multi-viewport rendering (when ImGuiConfigFlags_EnableViewports is enabled). | ||||
|  | ||||
| // CHANGELOG  | ||||
| // (minor and older changes stripped away, please see git history for details) | ||||
| //  2018-XX-XX: Platform: Added support for multiple windows via the ImGuiPlatformIO interface. | ||||
| @@ -328,7 +332,7 @@ void    ImGui_ImplOpenGL3_DestroyDeviceObjects() | ||||
| // Platform Interface (Optional, for multi-viewport support) | ||||
| //-------------------------------------------------------------------------------------------------------- | ||||
|  | ||||
| static void ImGui_ImplOpenGL3_RenderWindow(ImGuiViewport* viewport) | ||||
| static void ImGui_ImplOpenGL3_RenderWindow(ImGuiViewport* viewport, void*) | ||||
| { | ||||
|     if (!(viewport->Flags & ImGuiViewportFlags_NoRendererClear)) | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 omar
					omar