display now uses SDL_FillRect

This commit is contained in:
2025-03-14 04:53:47 -04:00
parent 4f7083d7c7
commit 1d3e843653
2 changed files with 26 additions and 33 deletions

View File

@@ -9,6 +9,7 @@ class DisplaySDL : public chocochip8::Display {
public:
DisplaySDL(int w, int h, uint32_t fgCol = 0xffffff, uint32_t bgCol = 0x000000);
~DisplaySDL() override;
void clear() override;
void updateWindow() const;
private: