Skip to content

Commit

Permalink
intel: don't try to get fdinfo if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Nov 28, 2023
1 parent dcb8741 commit f168483
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/intel.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ class Intel {
}

void update() {
get_fdinfo();
if (fdinfo)
get_fdinfo();

gpu_info = gpu_info_intel;
}

Expand Down

0 comments on commit f168483

Please sign in to comment.