aboutsummaryrefslogtreecommitdiff
path: root/src/platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform.hpp')
-rw-r--r--src/platform.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/platform.hpp b/src/platform.hpp
index 55b91df..90df65d 100644
--- a/src/platform.hpp
+++ b/src/platform.hpp
@@ -2,6 +2,8 @@
#define PLATFORM_HPP_
#include <cstdint>
+#include <bitset>
+
#include <SDL.h>
class Platform {
@@ -12,13 +14,12 @@ class Platform {
~Platform();
public:
- void Update(const void* buffer, int pitch);
+ void Update(const std::bitset<4096>& bitset, int videoScale);
bool ProcessInput(uint8_t* keys);
private:
SDL_Window* window {};
SDL_Renderer* renderer {};
- SDL_Texture* texture {};
};
#endif