diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-06 13:28:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-06 13:28:35 +0200 |
commit | 2682df9e0fd84b69bb232c6457161d274b394052 (patch) | |
tree | 861fc8352ce07f1b1a6fb7be1a3e66b84d89c88b /src/main.cpp | |
parent | 111432f7dd83f1212f622c1979119f83025814f3 (diff) |
Portal: fix external texture
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4693830..db44530 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2705,6 +2705,11 @@ int main(int argc, char **argv) { disable_prime_run(); } + if(strcmp(window_str, "portal") == 0 && is_using_prime_run()) { + fprintf(stderr, "Warning: use of prime-run with -w portal option is currently not supported. Disabling prime-run\n"); + disable_prime_run(); + } + if(video_codec_is_hdr(video_codec) && !wayland) { fprintf(stderr, "Error: hdr video codec option %s is not available on X11\n", video_codec_to_use); _exit(1); |