Skip to content

Commit

Permalink
chore: fix casting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Detegr committed Jul 20, 2024
1 parent d80869d commit 6055eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RBR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ namespace rbr {
was_using_quad_view_rendering = g::cfg.quad_view_rendering;
g::cfg.quad_view_rendering = !g::cfg.quad_view_rendering;

const auto w = g::vr->companion_window_width;
const auto h = g::vr->companion_window_height;
const auto w = static_cast<uint32_t>(g::vr->companion_window_width);
const auto h = static_cast<uint32_t>(g::vr->companion_window_height);

delete g::vr;
g::vr = new OpenXR();
Expand Down

0 comments on commit 6055eb3

Please sign in to comment.