imgui : use GL3W

This commit is contained in:
Georgi Gerganov
2021-01-11 18:53:43 +02:00
parent ffab3cb836
commit 3c288120de

View File

@@ -90,6 +90,11 @@ if (GGWAVE_SUPPORT_SDL2)
imgui-extra/imgui_impl_opengl3.cpp
)
# force GL3W loader
target_compile_definitions(imgui-sdl2 PUBLIC
IMGUI_IMPL_OPENGL_LOADER_GL3W=1
)
target_include_directories(imgui-sdl2 PUBLIC
imgui/examples/libs/gl3w
${SDL2_INCLUDE_DIRS}