aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-09 09:07:58 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-09 09:07:58 +0100
commitd3753404cdf58e529865782e7e3679aadb5bc18f (patch)
tree589e2b105e89faca4c1bd6972674f33e23c84d13 /src/crepe/facade/SDLContext.cpp
parentdc7a1c3d669b901adb9c520b4a76a868a3cc94e9 (diff)
revert #66 except for `src/test/InputTest.cpp`
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r--src/crepe/facade/SDLContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index e010ac3..4cc2206 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -11,7 +11,6 @@
#include <cstddef>
#include <cstdint>
#include <functional>
-#include <iostream>
#include <memory>
#include <stdexcept>
@@ -325,8 +324,6 @@ SDLContext::CameraValues SDLContext::set_camera(const Camera & cam) {
render_scale.x = render_scale.y = scale;
}
- //cout << render_scale.x << " " << bar_size.x << " " << bar_size.y << endl;
-
SDL_SetRenderDrawColor(this->game_renderer.get(), cam_data.bg_color.r, cam_data.bg_color.g,
cam_data.bg_color.b, cam_data.bg_color.a);
@@ -377,7 +374,6 @@ ivec2 SDLContext::get_size(const Texture & ctx) {
void SDLContext::delay(int ms) const { SDL_Delay(ms); }
-
std::vector<SDLContext::EventData> SDLContext::get_events() {
std::vector<SDLContext::EventData> event_list;
SDL_Event event;