This commit is contained in:
2026-03-10 22:06:38 +01:00
parent aaa753859d
commit 72f9bd4579
5 changed files with 79 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include <SDL2/SDL.h>
#include <iostream>
namespace Game::Renderer {
class Renderer {
public:
Renderer();
~Renderer();
bool init(SDL_Window* window);
void clear();
void present();
private:
SDL_Renderer* mRenderer;
};
}