minor changes and added namespace to avoid conflicts when integrating with PanoPainter

This commit is contained in:
2017-03-15 08:17:22 +00:00
parent ee6d352fc6
commit c34d1a1f44
16 changed files with 112 additions and 39 deletions

View File

@@ -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;