LearnWebGPU
LearnWebGPU copied to clipboard
Update first-color.md
// At the end of the frame wgpuTextureRelease(surfaceTexture.texture); Destroy texture to prevent memory leak after rendering.