mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Migrate image storage from PICT to BMP
This commit is contained in:
@@ -15,7 +15,7 @@ namespace PortabilityLayer
|
||||
|
||||
bool ImageWidget::Init(const WidgetBasicState &state)
|
||||
{
|
||||
m_pict = PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', state.m_resID).StaticCast<Picture>();
|
||||
m_pict = PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', state.m_resID).StaticCast<BitmapImage>();
|
||||
|
||||
if (!m_pict)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user