mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-08 20:38:25 +00:00
Examples: GLFW+GL2: Moved glfw, gl2 files to root folder, split imgui_impl_glfw_gl2 into _opengl2 and reused imgui_impl_glfw
This commit is contained in:
11
examples/imgui_impl_opengl2.h
Normal file
11
examples/imgui_impl_opengl2.h
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
IMGUI_API bool ImGui_ImplOpenGL2_Init();
|
||||
IMGUI_API void ImGui_ImplOpenGL2_Shutdown();
|
||||
IMGUI_API void ImGui_ImplOpenGL2_NewFrame();
|
||||
IMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data);
|
||||
|
||||
// Called by Init/NewFrame/Shutdown
|
||||
IMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture();
|
||||
IMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture();
|
||||
IMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects();
|
||||
IMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects();
|
Reference in New Issue
Block a user