mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-04 06:00:23 +00:00
Added warning messages for nvctrl
This commit is contained in:
parent
1fc94600e9
commit
85291d25ef
@ -19,7 +19,11 @@ bool checkXNVCtrl()
|
|||||||
if (nvctrl.IsLoaded()) {
|
if (nvctrl.IsLoaded()) {
|
||||||
nvctrlSuccess = nvctrl.XNVCTRLIsNvScreen(display, 0);
|
nvctrlSuccess = nvctrl.XNVCTRLIsNvScreen(display, 0);
|
||||||
return nvctrlSuccess;
|
return nvctrlSuccess;
|
||||||
|
} else {
|
||||||
|
printf("MANGOHUD: XNVCtrl failed to load");
|
||||||
}
|
}
|
||||||
|
if (!nvctrlSuccess)
|
||||||
|
printf("MANGOHUD: XNVCtrl didn't find the correct display")
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user