Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings

(otherwise if another loader such as Glew is accessible, the opengl3 backend might automatically use it). [#2919, #2798]
This commit is contained in:
omar
2019-12-06 10:43:27 +01:00
parent b521cd357d
commit 7ff13f4ee1
5 changed files with 6 additions and 7 deletions

View File

@ -31,7 +31,7 @@ LIBS =
## Using OpenGL loader: gl3w [default]
SOURCES += ../libs/gl3w/GL/gl3w.c
CXXFLAGS += -I../libs/gl3w
CXXFLAGS += -I../libs/gl3w -DIMGUI_IMPL_OPENGL_LOADER_GL3W
## Using OpenGL loader: glew
## (This assumes a system-wide installation)