mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
File system refactoring
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user