File system refactoring

This commit is contained in:
elasota
2019-12-29 06:38:18 -05:00
parent b24505164d
commit 430842d17b
74 changed files with 874 additions and 1240 deletions

View File

@@ -36,15 +36,15 @@ namespace PortabilityLayer
}
}
int QDPort::Init(const Rect &rect, GpPixelFormat_t pixelFormat)
PLError_t QDPort::Init(const Rect &rect, GpPixelFormat_t pixelFormat)
{
m_pixMap = nullptr;
m_pixelFormat = pixelFormat;
if (!Resize(rect))
return mFulErr;
return PLErrors::kOutOfMemory;
return noErr;
return PLErrors::kNone;
}
bool QDPort::Resize(const Rect &rect)