This commit is contained in:
dec05eba committed 2023-07-10 17:15:59 +02:00
1 parent f0710b1e1c
commit 0b79f14443
1 file changed
-2
-2
View File
@@ -134,13 +134,11 @@ bool gsr_get_valid_card_path(char *output) {
found_screen_card = true; found_screen_card = true;
drmModeFreePlane(plane); drmModeFreePlane(plane);
if(found_screen_card) if(found_screen_card)
break; break;
} }
close(fd); close(fd);
if(found_screen_card) if(found_screen_card)
return true; return true;
} }