Skip to content

Commit 65980ba

Browse files
committed
Fix demo build error
1 parent 8b33db5 commit 65980ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebAPIKitDemo/WebGLDemo.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func runWebGLDemo() {
152152
0.0, 0.0,
153153
0.0, 0.5,
154154
0.7, 0.0,
155-
]).buffer
155+
]).buffer as! ArrayBuffer
156156
),
157157
usage: WebGL2RenderingContext.STATIC_DRAW
158158
)

0 commit comments

Comments
 (0)