This commit is contained in:
dec05eba 2023-07-10 17:15:59 +02:00
parent f0710b1e1c
commit 0b79f14443

View File

@ -134,13 +134,11 @@ bool gsr_get_valid_card_path(char *output) {
found_screen_card = true;
drmModeFreePlane(plane);
if(found_screen_card)
break;
}
close(fd);
if(found_screen_card)
return true;
}