aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SdlContext.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-23 13:49:20 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-23 13:49:20 +0200
commiteaa05e7a981b0f581f5393882e4753d9294a3dba (patch)
tree4f55cbacf8a70229ec523a45848fe89915d707d5 /src/crepe/SdlContext.h
parentf1857fc2d4ddec71b3f0395903f8446cf96b8d0c (diff)
rendering and asset_manager poc
:
Diffstat (limited to 'src/crepe/SdlContext.h')
-rw-r--r--src/crepe/SdlContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/SdlContext.h b/src/crepe/SdlContext.h
index a6c85f1..97adfa2 100644
--- a/src/crepe/SdlContext.h
+++ b/src/crepe/SdlContext.h
@@ -43,8 +43,8 @@ private:
void present_screen();
private:
- SDL_Window * m_game_window;
- SDL_Renderer * m_game_renderer;
+ SDL_Window * m_game_window = nullptr;
+ SDL_Renderer * m_game_renderer = nullptr;
};
} // namespace crepe