From 00267dce1025735d0a9a32a02224facf2fd183ca Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Fri, 23 Aug 2024 18:42:15 +0800 Subject: [PATCH 2/2] WServerGLWidget.C: do not hardcode OpenGL implementation --- src/Wt/WServerGLWidget.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git src/Wt/WServerGLWidget.C src/Wt/WServerGLWidget.C index e99bb48c..a666309b 100644 --- src/Wt/WServerGLWidget.C +++ src/Wt/WServerGLWidget.C @@ -13,8 +13,7 @@ #ifdef WT_WIN32 #define WIN32_GL #define FRAMEBUFFER_RENDERING -#elif defined(__APPLE__) -#define APPLE_GL +#elif defined(APPLE_GL) #define FRAMEBUFFER_RENDERING #else #define X11_GL