diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-20 15:28:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-20 15:28:37 +0200 |
commit | 45a10baf5f46785383d6885ac602060d7d4caa1f (patch) | |
tree | 847eccd871a1dc600ee96141469177a606e2f690 /src/utils.c | |
parent | faf6ba69a0f3eeafb54ca761298c602649bf4b62 (diff) |
Disable steam deck support at the moment because the driver is broken (ignores qp, capture tearing)
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index b73216a..84c8707 100644 --- a/src/utils.c +++ b/src/utils.c @@ -377,6 +377,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) { const unsigned char *gl_renderer = egl->glGetString(GL_RENDERER); info->gpu_version = 0; + info->is_known_broken_driver = false; if(!gl_vendor) { fprintf(stderr, "gsr error: failed to get gpu vendor\n"); @@ -409,6 +410,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) { if(gl_renderer) { if(info->vendor == GSR_GPU_VENDOR_NVIDIA) sscanf((const char*)gl_renderer, "%*s %*s %*s %d", &info->gpu_version); + info->is_known_broken_driver = strstr((const char*)gl_renderer, "vangogh") != NULL; } end: |