mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-02-04 10:38:52 +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