summaryrefslogtreecommitdiff
path: root/hk21/game/gpu.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-02 23:57:56 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-02 23:57:56 +0100
commitef3bf642b5231e6622bf8efefae1c97efee809b6 (patch)
tree9fa3e31d1364453f1580e2f877a64793e38c73ff /hk21/game/gpu.hpp
parent41336fb9d421868fcc1b56f39232a665cabd2ef7 (diff)
Get a solid color on the window
Diffstat (limited to 'hk21/game/gpu.hpp')
-rw-r--r--hk21/game/gpu.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hk21/game/gpu.hpp b/hk21/game/gpu.hpp
index 40a0973..fb74e20 100644
--- a/hk21/game/gpu.hpp
+++ b/hk21/game/gpu.hpp
@@ -16,6 +16,8 @@ public:
virtual ~Gpu() = default;
virtual void destroy() = 0;
+
+ virtual void frame() = 0;
};
asl::status_or<asl::box<Gpu>> init(SDL_Window* window);