Skip to content

Conversation

@Nefistofeles
Copy link

// At the end of the frame
wgpuTextureRelease(surfaceTexture.texture);
Destroy texture to prevent memory leak after rendering.

// At the end of the frame
wgpuTextureRelease(surfaceTexture.texture);
Destroy texture to prevent memory leak after rendering.
@eliemichel
Copy link
Owner

I need to test this further as it used to be a discrepancy between Dawn and wgpu-native, might have been fixed since then

@eliemichel
Copy link
Owner

This was fixed in #93 (which is temporarily a bit convoluted due to wgpu-native not behaving per the standard yet).

@eliemichel eliemichel closed this May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants