From f88b5f2442326a95709fc4e4df1ed13b193071a5 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Wed, 4 Oct 2023 16:04:40 +0200 Subject: [PATCH] revert last --- wgpu/backends/rs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu/backends/rs.py b/wgpu/backends/rs.py index 9e69178b..f2c6276f 100644 --- a/wgpu/backends/rs.py +++ b/wgpu/backends/rs.py @@ -2307,7 +2307,7 @@ def end(self): def _destroy(self): if self._internal is not None and lib is not None: self._internal, internal = None, self._internal - lib.wgpuComputePassEncoderRelease(internal) + internal # panics: lib.wgpuComputePassEncoderRelease(internal) class GPURenderPassEncoder( @@ -2369,7 +2369,7 @@ def end_occlusion_query(self): def _destroy(self): if self._internal is not None and lib is not None: self._internal, internal = None, self._internal - lib.wgpuRenderPassEncoderRelease(internal) + internal # panics: lib.wgpuRenderPassEncoderRelease(internal) class GPURenderBundleEncoder(