Well I guess it's not very important since the leak only happens when shutting down Direct3D9 which always happens at end of the program.
I don't use Github so I can't make a PR
Search found 2 matches
Search found 2 matches • Page 1 of 1
- Tue Sep 10, 2019 14:55
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: Direct3D9Texture::isPixelFormatSupported leak
- Replies: 3
- Views: 4025
Hello, In function "Direct3D9Texture::isPixelFormatSupported" in Texture.cpp: LPDIRECT3D9 d3d; d_owner.getDevice()->GetDirect3D(&d3d); This code leaks because the d3d object is not released, which it should: https://docs.microsoft.com/en-us/windows/win32/api/d3d9/nf-d3d9-idirect3ddevic...