mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 02:01: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();
|
LegoTextureInfo* textureInfo = new LegoTextureInfo();
|
||||||
|
|
||||||
textureInfo->m_palette = p_textureInfo->m_palette;
|
textureInfo->m_palette = p_textureInfo->m_palette;
|
||||||
p_textureInfo->m_palette->Release();
|
textureInfo->m_palette->AddRef();
|
||||||
|
|
||||||
memset(&newDesc, 0, sizeof(newDesc));
|
memset(&newDesc, 0, sizeof(newDesc));
|
||||||
newDesc.dwWidth = desc.dwWidth;
|
newDesc.dwWidth = desc.dwWidth;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user