You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider an atlas image is created on the fly in memory in SRGBA8 format outside of etcpak. The Bitmap class can only be successfully constructed from a file, not from already present image data. When not providing a filename, m_sema is not initialized properly, so that later calls to NextBlock keep blocking, as the Bitmap class is effectively left uninitialized, and thus is not ready for data retrieval. It would be nice if either:
the Bitmap class would get an additional constructor to construct it from already present image data, or
the m_sema member would be initialized so that calls to NextBlock do not block for processing.
Thank you.
The text was updated successfully, but these errors were encountered:
Consider an atlas image is created on the fly in memory in SRGBA8 format outside of etcpak. The
Bitmap
class can only be successfully constructed from a file, not from already present image data. When not providing a filename,m_sema
is not initialized properly, so that later calls toNextBlock
keep blocking, as theBitmap
class is effectively left uninitialized, and thus is not ready for data retrieval. It would be nice if either:Bitmap
class would get an additional constructor to construct it from already present image data, orm_sema
member would be initialized so that calls toNextBlock
do not block for processing.Thank you.
The text was updated successfully, but these errors were encountered: