Update main.swift
This commit is contained in:
parent
626fb1192e
commit
7444a30daa
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue