1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

Fixed image caching issue

This commit is contained in:
Brian Fiete 2021-05-28 08:28:21 -04:00
parent e606b18a0c
commit d586af2f1d

View file

@ -254,6 +254,9 @@ DXTexture::DXTexture()
DXTexture::~DXTexture()
{
if (!mPath.IsEmpty())
((DXRenderDevice*)mRenderDevice)->mTextureMap.Remove(mPath);
//OutputDebugStrF("DXTexture::~DXTexture %@\n", this);
delete mImageData;
if (mD3DResourceView != NULL)