mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
fix(deno): use correct op for GPUDevice.createSampler (#3480)
This commit is contained in:
@@ -988,7 +988,7 @@
|
||||
context: "Argument 1",
|
||||
});
|
||||
const device = assertDevice(this, { prefix, context: "this" });
|
||||
const { rid, err } = ops.op_webgpu_create_texture({
|
||||
const { rid, err } = ops.op_webgpu_create_sampler({
|
||||
deviceRid: device.rid,
|
||||
...descriptor,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user