Update main.swift

This commit is contained in:
Signal 2026-06-22 19:12:58 +00:00
parent 626fb1192e
commit 7444a30daa

View file

@ -137,6 +137,7 @@ let verts = graphics.createBuffer(label: "UI vertex buffer", usage: [.vertex, .c
let inds = graphics.createBuffer(label: "UI index buffer", usage: [.index, .copyDest], size: 1024 * 1024)
var drawable = Drawable(passes: ["ui"], vertices: verts, vertexCount: 0, indices: inds, indexCount: 0, uniforms: mat4AsBytes(&projection))
ctx.viewportSize = UIVec2(1024, 720)
let list = ctx.getDrawList()