Use GLAD for OpenGL loading instead of GLEW.
This allows us to pick GLX on X11 and EGL on Wayland at runtime when building with wxWidgets 3.3.2+ GLEW only allowed to choose between GLX/EGL at compile time. This also removes KICAD_USE_EGL option, KiCad will use whatever wxWidgets was built with. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20647
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <singleton.h>
|
||||
#include <advanced_config.h>
|
||||
#include <bs_thread_pool.hpp>
|
||||
#include <gal/opengl/gl_context_mgr.h>
|
||||
#include <kicad_gl/gl_context_mgr.h>
|
||||
#include <thread_pool.h>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user