mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Expose glslow config option
This commit is contained in:
1 parent
21cda8141d
commit
f16b5cd337
4 files changed
+24
-8
No files matched your search
@@ -1012,12 +1012,7 @@ const char* DrmRenderer::getDrmColorRangeValue(AVFrame* frame)
|
||||
#ifdef HAVE_EGL
|
||||
|
||||
bool DrmRenderer::canExportEGL() {
|
||||
if (!m_HwAccelBackend) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using direct rendering due to non-hwaccel backend");
|
||||
return false;
|
||||
}
|
||||
else if (qgetenv("DRM_FORCE_DIRECT") == "1") {
|
||||
if (qgetenv("DRM_FORCE_DIRECT") == "1") {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using direct rendering due to environment variable");
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user