aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r--src/crepe/facade/SDLContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 32461f2..391aa78 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -179,7 +179,8 @@ void SDLContext::set_camera(const Camera & cam, CameraValues & ctx) {
float adj_width = zoomed_viewport.x * scale;
float bar_width = (cam_data.screen.x - adj_width) / 2;
this->black_bars[0] = {0, 0, bar_width, (float) cam_data.screen.y};
- this->black_bars[1] = {(cam_data.screen.x - bar_width), 0, bar_width, (float) cam_data.screen.y};
+ this->black_bars[1]
+ = {(cam_data.screen.x - bar_width), 0, bar_width, (float) cam_data.screen.y};
bar_size = {bar_width, 0};
render_scale.x = render_scale.y = scale;