fix | Render FPS last

This commit is contained in:
Dusk 2023-09-24 17:53:07 +02:00
parent 74cd3f5127
commit b666e83a0c
1 changed files with 2 additions and 2 deletions

View File

@ -20,12 +20,12 @@ pub fn init() !Self {
pub fn render(self: *Self) void { pub fn render(self: *Self) void {
_ = self; _ = self;
rl.drawFPS(10, 10);
rl.endDrawing(); rl.endDrawing();
rl.beginDrawing(); rl.beginDrawing();
rl.clearBackground(.{ 232, 216, 166, 255 }); rl.clearBackground(.{ 232, 216, 166, 255 });
rl.drawFPS(10, 10);
} }
pub fn deinit(self: *Self) void { pub fn deinit(self: *Self) void {