Skip to content

Commit

Permalink
Include SDL2 OpenGL headers instead of GLEW headers on Mac OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanfanel committed Feb 10, 2024
1 parent 3cb34e4 commit 542f03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graphic/Fast3D/gfx_opengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#include "SDL_opengl.h"
#elif __APPLE__
#include <SDL2/SDL.h>
#include <GL/glew.h>
#define GL_GLEXT_PROTOTYPES 1
#include <SDL2/SDL_opengl.h>
#elif __SWITCH__
#include <SDL2/SDL.h>
#include <glad/glad.h>
Expand Down

0 comments on commit 542f03f

Please sign in to comment.