diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-23 19:45:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 15:15:40 +0100 |
commit | ebe4c1421e13e61295221982900ac5b77c848227 (patch) | |
tree | 3e2a9de57eda020d97d10a77c68e85c540bf43c9 /ext/webgpu/02_surface.js | |
parent | d6d437c4dce9beb6b304c481812e65d6751cbeb7 (diff) |
chore: use ensureFastOps in 02_surface.js (#22045)
Diffstat (limited to 'ext/webgpu/02_surface.js')
-rw-r--r-- | ext/webgpu/02_surface.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/webgpu/02_surface.js b/ext/webgpu/02_surface.js index 1c9751f62..eb3ee80af 100644 --- a/ext/webgpu/02_surface.js +++ b/ext/webgpu/02_surface.js @@ -8,6 +8,7 @@ import { core, primordials } from "ext:core/mod.js"; const { + op_webgpu_surface_create, op_webgpu_surface_configure, op_webgpu_surface_get_current_texture, op_webgpu_surface_present, @@ -175,7 +176,7 @@ class UnsafeWindowSurface { #surfaceRid; constructor(system, win, display) { - this.#surfaceRid = ops.op_webgpu_surface_create(system, win, display); + this.#surfaceRid = op_webgpu_surface_create(system, win, display); } getContext(context) { |