Fix demo build errors

This commit is contained in:
kayomn 2024-08-15 19:46:03 +01:00
parent c2a95726ca
commit 455ede6d78
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ const Frame = struct {
}
}
pub fn set_scissor_rect(self: *Frame, resources: *Resources, has_rect: gfx.Rect) void {
pub fn set_scissor_rect(self: *Frame, resources: *Resources, has_rect: ?gfx.Rect) void {
self.flush(resources);
if (has_rect) |rect| {