mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Merge branch 'master' into viewport
# Conflicts: # examples/opengl2_example/imgui_impl_glfw_gl2.cpp # examples/opengl3_example/imgui_impl_glfw_gl3.cpp # examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp # examples/sdl_opengl3_example/imgui_impl_sdl_gl3.h # examples/vulkan_example/imgui_impl_glfw_vulkan.cpp
This commit is contained in:
		@@ -50,7 +50,7 @@ enum GlfwClientApi
 | 
			
		||||
};
 | 
			
		||||
static GLFWwindow*      g_Window = NULL;
 | 
			
		||||
static GlfwClientApi    g_ClientApi = GlfwClientApi_Unknown;
 | 
			
		||||
static double           g_Time = 0.0f;
 | 
			
		||||
static double           g_Time = 0.0;
 | 
			
		||||
static bool             g_MouseJustPressed[5] = { false, false, false, false, false };
 | 
			
		||||
static GLFWcursor*      g_MouseCursors[ImGuiMouseCursor_Count_] = { 0 };
 | 
			
		||||
static bool             g_WantUpdateMonitors = true;
 | 
			
		||||
@@ -116,6 +116,7 @@ void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window)
 | 
			
		||||
static bool ImGui_ImplGlfw_Init(GLFWwindow* window, bool install_callbacks, GlfwClientApi client_api)
 | 
			
		||||
{
 | 
			
		||||
    g_Window = window;
 | 
			
		||||
    g_Time = 0.0;
 | 
			
		||||
 | 
			
		||||
    // Setup back-end capabilities flags
 | 
			
		||||
    ImGuiIO& io = ImGui::GetIO();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user