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