Fix demo build errors
This commit is contained in:
parent
c2a95726ca
commit
455ede6d78
|
@ -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);
|
self.flush(resources);
|
||||||
|
|
||||||
if (has_rect) |rect| {
|
if (has_rect) |rect| {
|
||||||
|
|
Loading…
Reference in New Issue