Applied feedback from @raphaelthegreat

This commit is contained in:
raziel1000 2024-07-25 01:13:14 -06:00 committed by georgemoralis
parent b62836d29f
commit fa76a723ad
6 changed files with 22 additions and 8 deletions

View file

@ -42,7 +42,7 @@ struct WindowSystemInfo {
class WindowSDL {
public:
explicit WindowSDL(s32 width, s32 height, Input::GameController* controller,
std::string game_title);
std::string_view game_title);
~WindowSDL();
s32 getWidth() const {
@ -70,7 +70,6 @@ private:
private:
s32 width;
s32 height;
std::string game_title;
Input::GameController* controller;
WindowSystemInfo window_info{};
SDL_Window* window{};