mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:46:00 +01:00
renderer: fixup nvidia driver version checks
This commit is contained in:
parent
ea72831541
commit
2d552fbaa2
1 changed files with 1 additions and 1 deletions
|
@ -2737,7 +2737,7 @@ SExplicitSyncSettings CHyprRenderer::getExplicitSyncSettings() {
|
||||||
|
|
||||||
// check nvidia version. Explicit KMS is supported in >=560
|
// 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
|
// 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;
|
static bool once = true;
|
||||||
if (once) {
|
if (once) {
|
||||||
|
|
Loading…
Reference in a new issue