mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 01:34:32 +00:00 
			
		
		
		
	Merge branch 'master' into docking
# Conflicts: # backends/imgui_impl_dx10.cpp # backends/imgui_impl_dx10.h # backends/imgui_impl_vulkan.h # backends/imgui_impl_win32.cpp # docs/CHANGELOG.txt # examples/README.txt # examples/example_glfw_opengl2/main.cpp # examples/example_glfw_opengl3/main.cpp # examples/example_glfw_vulkan/main.cpp # examples/example_sdl_directx11/main.cpp # examples/example_sdl_opengl2/main.cpp # examples/example_sdl_opengl3/main.cpp # examples/example_sdl_vulkan/main.cpp # examples/example_win32_directx10/main.cpp # examples/example_win32_directx11/main.cpp # examples/example_win32_directx12/main.cpp # examples/example_win32_directx9/main.cpp # imgui.cpp # imgui.h # imgui_demo.cpp # imgui_internal.h
This commit is contained in:
		@@ -1,7 +1,8 @@
 | 
			
		||||
// dear imgui: standalone example application for SDL2 + OpenGL
 | 
			
		||||
// If you are new to dear imgui, see examples/README.txt and documentation at the top of imgui.cpp.
 | 
			
		||||
// Dear ImGui: standalone example application for SDL2 + OpenGL
 | 
			
		||||
// (SDL is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan/Metal graphics context creation, etc.)
 | 
			
		||||
// (GL3W is a helper library to access OpenGL functions since there is no standard header to access modern OpenGL functions easily. Alternatives are GLEW, Glad, etc.)
 | 
			
		||||
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
 | 
			
		||||
// Read online: https://github.com/ocornut/imgui/tree/master/docs
 | 
			
		||||
 | 
			
		||||
#include "imgui.h"
 | 
			
		||||
#include "imgui_impl_sdl.h"
 | 
			
		||||
@@ -121,7 +122,7 @@ int main(int, char**)
 | 
			
		||||
        style.Colors[ImGuiCol_WindowBg].w = 1.0f;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Setup Platform/Renderer bindings
 | 
			
		||||
    // Setup Platform/Renderer backends
 | 
			
		||||
    ImGui_ImplSDL2_InitForOpenGL(window, gl_context);
 | 
			
		||||
    ImGui_ImplOpenGL3_Init(glsl_version);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user