Update with recent API changes

This commit is contained in:
kayomn 2024-07-26 00:13:44 +01:00
parent cc8263b141
commit 91101742bc
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ pub fn render(commands: gfx.Commands, display: ona.Read(gfx.Display)) !void {
try commands.draw_texture(.{
.texture = .default,
.transform = gfx.Transform2D.from_simplified(.{
.transform = gfx.transform_2d(.{
.scale = @splat(256),
.translation = .{ @floatFromInt(display.state.width / 2), @floatFromInt(display.state.height / 2) },
}),