minor changes and added namespace to avoid conflicts when integrating with PanoPainter
This commit is contained in:
@@ -51,7 +51,8 @@ void Asset::close()
|
||||
#ifdef __ANDROID__
|
||||
AAsset_close(m_asset);
|
||||
#else
|
||||
fclose(m_fp);
|
||||
if (m_fp)
|
||||
fclose(m_fp);
|
||||
if (m_data)
|
||||
delete m_data;
|
||||
m_data = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user