From 542f03f1c35c06910707ce1dce8f74849f1a7c4c Mon Sep 17 00:00:00 2001 From: vanfanel Date: Sat, 10 Feb 2024 14:48:31 +0100 Subject: [PATCH] Include SDL2 OpenGL headers instead of GLEW headers on Mac OS. --- src/graphic/Fast3D/gfx_opengl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphic/Fast3D/gfx_opengl.cpp b/src/graphic/Fast3D/gfx_opengl.cpp index de8c3b8a2..bc7cbe786 100644 --- a/src/graphic/Fast3D/gfx_opengl.cpp +++ b/src/graphic/Fast3D/gfx_opengl.cpp @@ -29,7 +29,8 @@ #include "SDL_opengl.h" #elif __APPLE__ #include -#include +#define GL_GLEXT_PROTOTYPES 1 +#include #elif __SWITCH__ #include #include