mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
File system refactoring
This commit is contained in:
@@ -25,12 +25,12 @@ struct CGraf final
|
||||
{
|
||||
}
|
||||
|
||||
int Init(const Rect &rect, GpPixelFormat_t pixelFormat)
|
||||
PLError_t Init(const Rect &rect, GpPixelFormat_t pixelFormat)
|
||||
{
|
||||
if (int errorCode = m_port.Init(rect, pixelFormat))
|
||||
if (PLError_t errorCode = m_port.Init(rect, pixelFormat))
|
||||
return errorCode;
|
||||
|
||||
return 0;
|
||||
return PLErrors::kNone;
|
||||
}
|
||||
|
||||
bool Resize(const Rect &rect)
|
||||
|
Reference in New Issue
Block a user