Skip to content

Commit

Permalink
renderer: fixup nvidia driver version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Aug 7, 2024
1 parent ea72831 commit 2d552fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2737,7 +2737,7 @@ SExplicitSyncSettings CHyprRenderer::getExplicitSyncSettings() {

// check nvidia version. Explicit KMS is supported in >=560
// in the case of an error, driverMajor will stay 0 and explicit KMS will be disabled
int driverMajor = 0;
static int driverMajor = 0;

static bool once = true;
if (once) {
Expand Down

0 comments on commit 2d552fb

Please sign in to comment.