[Fix]: fix GLX GetProcAddress not exported properly

This commit is contained in:
2025-06-20 17:48:30 +08:00
parent 47cd496e6d
commit db1879d098
4 changed files with 27 additions and 0 deletions
@@ -8,6 +8,7 @@
namespace MG_GL::GLX {
void* GetProcAddress(const char *name) {
MG_Util::Debug::LogD("glXGetProcAddress(\"%s\")", name);
void* proc = dlsym(RTLD_DEFAULT, (const char*)name);
if (!proc) {