mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-08-29 21:40:42 +00:00
Pass the correct renderer to EGLImageFactory
We should be using the EGL renderer's colorspace and color range rather than the backend renderer's for fallbacks. The former is what actually gets passed to the host PC during stream init.
This commit is contained in:
@@ -41,8 +41,8 @@ class EglImageFactory
|
||||
};
|
||||
|
||||
public:
|
||||
EglImageFactory(IFFmpegRenderer* renderer);
|
||||
bool initializeEGL(EGLDisplay, const EGLExtensions &ext);
|
||||
EglImageFactory();
|
||||
bool initializeEGL(IFFmpegRenderer* eglRenderer, EGLDisplay, const EGLExtensions &ext);
|
||||
void resetCache();
|
||||
|
||||
#ifdef HAVE_DRM
|
||||
|
||||
Reference in New Issue
Block a user