Skip to content

Commit e56c15e

Browse files
committed
fix: illegal invocation
1 parent f868204 commit e56c15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GpuWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export async function initCanvas<T extends Layout>
133133
root,
134134
{
135135
...info,
136-
getTexture: ctx.getCurrentTexture,
136+
getTexture: () => ctx.getCurrentTexture(),
137137
},
138138
)
139139
}

0 commit comments

Comments
 (0)