Update with recent API changes
This commit is contained in:
parent
cc8263b141
commit
91101742bc
|
@ -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) },
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue