mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
LegoTextureContainer::AddToList fix
This commit is contained in:
parent
d169349bd6
commit
75ae6ce8cb
@ -54,7 +54,7 @@ LegoTextureInfo* LegoTextureContainer::AddToList(LegoTextureInfo* p_textureInfo)
|
||||
LegoTextureInfo* textureInfo = new LegoTextureInfo();
|
||||
|
||||
textureInfo->m_palette = p_textureInfo->m_palette;
|
||||
p_textureInfo->m_palette->Release();
|
||||
textureInfo->m_palette->AddRef();
|
||||
|
||||
memset(&newDesc, 0, sizeof(newDesc));
|
||||
newDesc.dwWidth = desc.dwWidth;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user