mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-15 05:42:28 +00:00
e64b15d2a7
Previously we opted to just lie to SDL and tell it that the current GL context is actually GLES 3.0 when it wasn't. This meant that we avoided our window being recreated for GLES usage on Wayland and KMSDRM, but that meant our 10-bit color change didn't apply either. I suspect this hackery is what led EGLRenderer to get stuck in a state where SDL_CreateRenderer() always failed. Now SDL will recreate our window once to configure a compatible GL API for our renderer. If that fails, we'll move on to a different renderer (which may recreate the window again). |
||
---|---|---|
.. | ||
audio | ||
input | ||
video | ||
session.cpp | ||
session.h | ||
streamutils.cpp | ||
streamutils.h |