mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-15 18:21:42 +00:00
Attempt to fix build with SDL 2.26 on systems with old GL headers
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user