mirror of https://github.com/bjornbytes/lovr.git
fixup: keep coding style consistent.
This commit is contained in:
parent
02c67d090d
commit
255f4e4a34
|
@ -1036,16 +1036,10 @@ static float* openxr_getDisplayFrequencies(uint32_t* count) {
|
|||
}
|
||||
|
||||
static bool openxr_setDisplayFrequency(float frequency) {
|
||||
if (!state.features.refreshRate) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!state.features.refreshRate) return false;
|
||||
XrResult res = xrRequestDisplayRefreshRateFB(state.session, frequency);
|
||||
if (res == XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB) {
|
||||
return false;
|
||||
}
|
||||
if (res == XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB) return false;
|
||||
XR(res);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue