Examples: Comments about GLSL version not being the same as GL context version. (#1828)

This commit is contained in:
omar
2018-05-21 11:28:30 +02:00
parent 663e2c9237
commit bef0a13283
4 changed files with 10 additions and 2 deletions
@@ -11,6 +11,10 @@
// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp.
// https://github.com/ocornut/imgui
// About GLSL version:
// The 'glsl_version' initialization parameter defaults to "#version 150" if NULL.
// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure!
struct GLFWwindow;
IMGUI_API bool ImGui_ImplGlfwGL3_Init(GLFWwindow* window, bool install_callbacks, const char* glsl_version = NULL);