aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SdlContext.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
commit6e2c5e1b57210b10f8781f103e5c46308544339f (patch)
tree9738592f2082de1881a0ea019bf3c99644134aef /src/crepe/SdlContext.h
parent9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (diff)
more nitpicking
Diffstat (limited to 'src/crepe/SdlContext.h')
-rw-r--r--src/crepe/SdlContext.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/crepe/SdlContext.h b/src/crepe/SdlContext.h
index 97adfa2..31ba3a6 100644
--- a/src/crepe/SdlContext.h
+++ b/src/crepe/SdlContext.h
@@ -1,11 +1,13 @@
#pragma once
-#include "RenderSystem.h"
-#include "api/Sprite.h"
-#include "api/Transform.h"
#include <SDL2/SDL_render.h>
#include <SDL2/SDL_video.h>
+#include "api/Sprite.h"
+#include "api/Transform.h"
+
+#include "RenderSystem.h"
+
namespace crepe::api {
class Texture;
}
@@ -43,8 +45,8 @@ private:
void present_screen();
private:
- SDL_Window * m_game_window = nullptr;
- SDL_Renderer * m_game_renderer = nullptr;
+ SDL_Window * game_window = nullptr;
+ SDL_Renderer * game_renderer = nullptr;
};
} // namespace crepe