fixup: keep coding style consistent.
@@ -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;
}
