mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-07 13:35:49 +02: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