From a68ac96bc4b37ce79588aec23df83ede0d2f6099 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 12 Nov 2016 12:48:33 +0100 Subject: [PATCH] Examples: GL3: Comments about gl3w (#880) --- examples/opengl3_example/imgui_impl_glfw_gl3.cpp | 2 +- examples/opengl3_example/main.cpp | 2 +- examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp | 2 +- examples/sdl_opengl3_example/main.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/opengl3_example/imgui_impl_glfw_gl3.cpp b/examples/opengl3_example/imgui_impl_glfw_gl3.cpp index ffefe758..97a125d8 100644 --- a/examples/opengl3_example/imgui_impl_glfw_gl3.cpp +++ b/examples/opengl3_example/imgui_impl_glfw_gl3.cpp @@ -10,7 +10,7 @@ #include "imgui_impl_glfw_gl3.h" // GL3W/GLFW -#include +#include // This example is using gl3w to access OpenGL functions (because it is small). You may use glew/glad/glLoadGen/etc. whatever already works for you. #include #ifdef _WIN32 #undef APIENTRY diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp index fb06b2a2..074bab54 100644 --- a/examples/opengl3_example/main.cpp +++ b/examples/opengl3_example/main.cpp @@ -4,7 +4,7 @@ #include #include "imgui_impl_glfw_gl3.h" #include -#include +#include // This example is using gl3w to access OpenGL functions (because it is small). You may use glew/glad/glLoadGen/etc. whatever already works for you. #include static void error_callback(int error, const char* description) diff --git a/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp b/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp index 80db341f..9acbf881 100644 --- a/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp +++ b/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp @@ -12,7 +12,7 @@ // SDL,GL3W #include #include -#include +#include // This example is using gl3w to access OpenGL functions (because it is small). You may use glew/glad/glLoadGen/etc. whatever already works for you. // Data static double g_Time = 0.0f; diff --git a/examples/sdl_opengl3_example/main.cpp b/examples/sdl_opengl3_example/main.cpp index 94ef6594..c396405f 100644 --- a/examples/sdl_opengl3_example/main.cpp +++ b/examples/sdl_opengl3_example/main.cpp @@ -4,7 +4,7 @@ #include #include "imgui_impl_sdl_gl3.h" #include -#include +#include // This example is using gl3w to access OpenGL functions (because it is small). You may use glew/glad/glLoadGen/etc. whatever already works for you. #include int main(int, char**)