aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-09 01:57:10 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-09 01:57:10 +0100
commita006261adef704930a8d946806ba051178a14518 (patch)
tree27b4f135e57ba53fb2863787df81db1c123d2f87 /src
parent3af2ea52c2ede2e56743a09423285fbe505874bb (diff)
Fix --list-capture-options with card path not working on x11 nvidia because x11 nvidia doesn't use driHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fbdb6b1..5fc0294 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3043,11 +3043,6 @@ int main(int argc, char **argv) {
_exit(0);
} else if(argc == 4) {
const char *card_path = argv[2];
- if(!try_card_has_valid_plane(card_path)) {
- fprintf(stderr, "Error: \"%s\" is not a valid /dev/dri/cardN card. Make sure that you have at least one monitor connected\n", card_path);
- _exit(1);
- }
-
const char *vendor_str = argv[3];
gsr_gpu_vendor vendor;
if(!gpu_vendor_from_string(vendor_str, &vendor)) {