| Summary: | Direct3D render driver leaks YUV pixel shader | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Peter Mackay <mackay.pete+sdlbugzilla> |
| Component: | render | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, mackay.pete+sdlbugzilla |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
This is now http://hg.libsdl.org/SDL/rev/4033ba4fcc31, thanks! --ryan. |
As per summary, the data->ps_yuv shader is created but never released. Inserting the following code in D3D_DestroyRenderer() before the release of the device should fix it: if (data->ps_yuv) { IDirect3DPixelShader9_Release(data->ps_yuv); } This bug was found by using the debug Direct3D 9 runtime.