From 2b4dbc2875ed481e40e383fd97bb4cff0985c0ac Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Sat, 30 Sep 2023 15:47:39 +0200 Subject: [PATCH] Remove test cell in main menu --- src/Renderer.zig | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Renderer.zig b/src/Renderer.zig index a229140..cc424cf 100644 --- a/src/Renderer.zig +++ b/src/Renderer.zig @@ -5,7 +5,6 @@ const Self = @This(); const colors = @import("color.zig"); color: colors.Color = .{ 0, 0, 0, 0 }, -textureTest: Texture, const max_objects: usize = 16384; const quadSize: usize = 9 * 6; @@ -13,17 +12,11 @@ const quadSize: usize = 9 * 6; pub fn init() !Self { rl.initWindow(1280, 720, "USG", 120); - var renderer = Self{ - .textureTest = Texture.init("res/cell.png"), - }; - - return renderer; + return Self{}; } pub fn render(self: *Self) void { - //_ = self; - - self.textureTest.drawTo(20, 100, 160, 160, colors.pink); + _ = self; rl.drawFPS(10, 10); rl.endDrawing();