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
@@ -13,7 +13,7 @@
struct GLFWwindow;
IMGUI_API bool ImGui_ImplGlfwGL3_Init(GLFWwindow* window, bool install_callbacks);
IMGUI_API bool ImGui_ImplGlfwGL3_Init(GLFWwindow* window, bool install_callbacks, const char* glsl_version = NULL);
IMGUI_API void ImGui_ImplGlfwGL3_Shutdown();
IMGUI_API void ImGui_ImplGlfwGL3_NewFrame();
IMGUI_API void ImGui_ImplGlfwGL3_RenderDrawData(ImDrawData* draw_data);