mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 17:11:40 -04:00
Bug fix of image background color issue .
This commit is contained in:
parent
48c9065537
commit
7962824be7
1 changed files with 1 additions and 0 deletions
|
@ -579,6 +579,7 @@ void CLoading::UnionSHP_GetAndClear(unsigned char*& pOutBuffer, int* OutWidth, i
|
|||
|
||||
// just make it work like unsigned char[W][H];
|
||||
pOutBuffer = new(unsigned char[W * H]);
|
||||
ZeroMemory(pOutBuffer, W * H);
|
||||
*OutWidth = W;
|
||||
*OutHeight = H;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue