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:
parent
e606b18a0c
commit
d586af2f1d
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue