Skip to content

Commit

Permalink
revert last
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Oct 4, 2023
1 parent cbe36ce commit f88b5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgpu/backends/rs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit f88b5f2

Please sign in to comment.