mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-23 02:11:54 +01:00
typo.
This commit is contained in:
parent
5ddb6c1d79
commit
2a106ef602
@ -38,7 +38,7 @@ XImage::XImage(EG_IMAGE* egImage)
|
||||
Height = 0;
|
||||
}
|
||||
PixelData.CheckSize(GetWidth()*GetHeight()); // change the allocated size, but not the size.
|
||||
PixelData.setLength(GetWidth()*GetHeight()); // change the size, ie the number of element in the array
|
||||
PixelData.SetLength(GetWidth()*GetHeight()); // change the size, ie the number of element in the array
|
||||
if ( GetWidth()*GetHeight() > 0 ) {
|
||||
CopyMem(&PixelData[0], egImage->PixelData, PixelData.size());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user