summaryrefslogtreecommitdiff
path: root/ext/webgpu/02_surface.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/02_surface.js')
-rw-r--r--ext/webgpu/02_surface.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/webgpu/02_surface.js b/ext/webgpu/02_surface.js
index eb3ee80af..94b0a5d54 100644
--- a/ext/webgpu/02_surface.js
+++ b/ext/webgpu/02_surface.js
@@ -6,13 +6,13 @@
/// <reference path="../web/lib.deno_web.d.ts" />
/// <reference path="./lib.deno_webgpu.d.ts" />
-import { core, primordials } from "ext:core/mod.js";
-const {
- op_webgpu_surface_create,
+import { primordials } from "ext:core/mod.js";
+import {
op_webgpu_surface_configure,
+ op_webgpu_surface_create,
op_webgpu_surface_get_current_texture,
op_webgpu_surface_present,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
ObjectPrototypeIsPrototypeOf,
Symbol,