Search found 2 matches

by tasa
Tue Sep 10, 2019 15:12
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Direct3D9Texture::isPixelFormatSupported leak
Replies: 3
Views: 10431

Re: Direct3D9Texture::isPixelFormatSupported leak

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 :(
by tasa
Tue Sep 10, 2019 14:55
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Direct3D9Texture::isPixelFormatSupported leak
Replies: 3
Views: 10431

Direct3D9Texture::isPixelFormatSupported leak

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...

Go to advanced search