Something something barely working pipeline

This commit is contained in:
duck
2025-04-24 14:58:47 +05:00
parent a3b358dd99
commit 6a8cbbf70b
2 changed files with 181 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ fn update(self: *Self) GameError!void {
fn draw(self: *Self) GameError!void {
try self.graphics.begin_draw();
try self.graphics.draw_debug();
try self.graphics.end_draw();
}
@@ -66,4 +67,5 @@ pub fn deinit(self: *Self) void {
pub const GameError = error{
SdlError,
OSError,
};