ENABLE_GLX -> HAVE_GLX

This commit is contained in:
Vlad Zahorodnii 2023-04-28 15:14:14 +03:00
parent a293c39105
commit 8bfb0b1ff7

View file

@ -175,7 +175,7 @@ typedef void (*glXFuncPtr)();
static glXFuncPtr getProcAddress(const char *name)
{
glXFuncPtr ret = nullptr;
#if ENABLE_GLX
#if HAVE_GLX
ret = glXGetProcAddress((const GLubyte *)name);
#endif
#if HAVE_DL_LIBRARY