LearnWebGPU icon indicating copy to clipboard operation
LearnWebGPU copied to clipboard

Update first-color.md

Open Nefistofeles opened this issue 1 year ago • 1 comments
trafficstars

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

Nefistofeles avatar Aug 08 '24 00:08 Nefistofeles

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 avatar Feb 08 '25 09:02 eliemichel

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

eliemichel avatar May 19 '25 06:05 eliemichel