Attempt to fix build with SDL 2.26 on systems with old GL headers
This commit is contained in:
parent
b9709d0825
commit
68c6d6c932
3 changed files with 4 additions and 3 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1
|
||||
|
||||
#include <SDL_egl.h>
|
||||
#include <SDL_opengles2.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue