Attempt to fix build with SDL 2.26 on systems with old GL headers

This commit is contained in:
Cameron Gutman 2022-11-21 20:32:10 -06:00
parent b9709d0825
commit 68c6d6c932
3 changed files with 4 additions and 3 deletions

View file

@ -10,8 +10,6 @@
#include <Limelight.h>
#include <unistd.h>
#include <SDL_egl.h>
#include <SDL_opengles2.h>
#include <SDL_render.h>
#include <SDL_syswm.h>

View file

@ -2,8 +2,9 @@
#include "renderer.h"
#define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1
#include <SDL_egl.h>
#include <SDL_opengles2.h>
#include <SDL_opengles2_gl2ext.h>
class EGLRenderer : public IFFmpegRenderer {
public:

View file

@ -1,3 +1,5 @@
#define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1
#include <SDL_egl.h>
#include <SDL_opengles2.h>