Window member variables set as private

This commit is contained in:
Jan Mrna 2025-09-29 14:15:08 +02:00 committed by Mrna
parent ec64c05bf0
commit 02a2ba2818

View File

@ -30,11 +30,11 @@ public:
void DrawCircle(const WorldPos &position, float radius); void DrawCircle(const WorldPos &position, float radius);
void DrawLine(const WorldPos &A, const WorldPos &B); void DrawLine(const WorldPos &A, const WorldPos &B);
private:
uint32_t m_Width;
uint32_t m_Height;
std::shared_ptr<SDL_Renderer> m_Renderer = nullptr; std::shared_ptr<SDL_Renderer> m_Renderer = nullptr;
SDL_Window *m_Window; SDL_Window *m_Window;
SDL_GLContext m_Context; SDL_GLContext m_Context;
private:
uint32_t m_Width;
uint32_t m_Height;
}; };