mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +01:00
temporary disable dynamic svg image generation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
307b02fdb7
commit
f8ccb366fa
@ -247,6 +247,7 @@ EFI_STATUS XIcon::LoadXImage(EFI_FILE *BaseDir, const XStringW& IconName)
|
||||
|
||||
const XImage& XIcon::GetBest(bool night) const
|
||||
{
|
||||
#if 0
|
||||
if (ImageSVG) {
|
||||
NSVGimage* sImage = (NSVGimage*)ImageSVGnight;
|
||||
if (!night || !ImageSVGnight) sImage = (NSVGimage*)ImageSVG;
|
||||
@ -276,6 +277,7 @@ const XImage& XIcon::GetBest(bool night) const
|
||||
// delete NewImage;
|
||||
return *NewImage;
|
||||
}
|
||||
#endif
|
||||
const XImage& RetImage = (night && !ImageNight.isEmpty())? ImageNight : Image;
|
||||
return RetImage;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user