Examples: OpenGL3: Added a way to override the glsl version number through the Init call. (#1667, #1466)

This commit is contained in:
omar
2018-03-06 19:48:30 +01:00
parent cea7492bab
commit a2ed3ee2cf
4 changed files with 43 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
struct SDL_Window;
typedef union SDL_Event SDL_Event;
IMGUI_API bool ImGui_ImplSdlGL3_Init(SDL_Window* window);
IMGUI_API bool ImGui_ImplSdlGL3_Init(SDL_Window* window, const char* glsl_version = NULL);
IMGUI_API void ImGui_ImplSdlGL3_Shutdown();
IMGUI_API void ImGui_ImplSdlGL3_NewFrame(SDL_Window* window);
IMGUI_API void ImGui_ImplSdlGL3_RenderDrawData(ImDrawData* draw_data);