mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Attempt to fix build with SDL 2.26 on systems with old GL headers
This commit is contained in:
1 parent
b9709d0825
commit
68c6d6c932
3 files changed
+4
-3
No files matched your search
@@ -10,8 +10,6 @@
|
|||||||
#include <Limelight.h>
|
#include <Limelight.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <SDL_egl.h>
|
|
||||||
#include <SDL_opengles2.h>
|
|
||||||
#include <SDL_render.h>
|
#include <SDL_render.h>
|
||||||
#include <SDL_syswm.h>
|
#include <SDL_syswm.h>
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
#include "renderer.h"
|
#include "renderer.h"
|
||||||
|
|
||||||
|
#define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1
|
||||||
|
#include <SDL_egl.h>
|
||||||
#include <SDL_opengles2.h>
|
#include <SDL_opengles2.h>
|
||||||
#include <SDL_opengles2_gl2ext.h>
|
|
||||||
|
|
||||||
class EGLRenderer : public IFFmpegRenderer {
|
class EGLRenderer : public IFFmpegRenderer {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1
|
||||||
|
|
||||||
#include <SDL_egl.h>
|
#include <SDL_egl.h>
|
||||||
#include <SDL_opengles2.h>
|
#include <SDL_opengles2.h>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user