File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export class DenoGpuWrapper<T extends Layout> extends GpuWrapper<T> {
4444}
4545
4646export async function initDeno < T extends Layout >
47- ( info : Omit < GpuWrapperInfo < T > , "texture " > & { width : number , height : number } ) {
47+ ( info : Omit < GpuWrapperInfo < T > , "getTexture " > & { width : number , height : number } ) {
4848 const root = await tgpu . init ( )
4949 const { texture, outputBuffer } = createCapture (
5050 root . device ,
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export class GpuWrapper<T extends Layout> {
119119}
120120
121121export async function initCanvas < T extends Layout >
122- ( info : Omit < GpuWrapperInfo < T > , "texture " > & { canvas : HTMLCanvasElement } ) {
122+ ( info : Omit < GpuWrapperInfo < T > , "getTexture " > & { canvas : HTMLCanvasElement } ) {
123123 const root = await tgpu . init ( )
124124 const ctx = info . canvas . getContext ( "webgpu" ) as unknown as GPUCanvasContext
125125
You can’t perform that action at this time.
0 commit comments