core\frontend\framebuffer_layout: GetCardboardSettings: clean up floa… (#6399)

* core\frontend\framebuffer_layout: GetCardboardSettings: clean up float to u32 conversion warnings + style fixes

* clang format

* fix signedness
This commit is contained in:
SachinVin 2023-04-09 10:59:25 +05:30 committed by GitHub
parent 90bcf49db0
commit a94acde519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 50 deletions

View file

@ -458,7 +458,7 @@ struct Values {
SwitchableSetting<MonoRenderOption> mono_render_option{MonoRenderOption::LeftEye,
"mono_render_option"};
Setting<s32> cardboard_screen_size{85, "cardboard_screen_size"};
Setting<u32> cardboard_screen_size{85, "cardboard_screen_size"};
Setting<s32> cardboard_x_shift{0, "cardboard_x_shift"};
Setting<s32> cardboard_y_shift{0, "cardboard_y_shift"};