diff --git a/Application.cpp b/Application.cpp index 7fbcb00..7bc2c31 100644 --- a/Application.cpp +++ b/Application.cpp @@ -165,6 +165,7 @@ void Application::onFrame() { renderPass.release(); nextTexture.release(); + Texture(surfaceTexture.texture).release(); CommandBufferDescriptor cmdBufferDescriptor{}; cmdBufferDescriptor.label = WGPU_STR("Command buffer");