fix imported image aspect ratio and the transform handles for touch devices

This commit is contained in:
2018-11-27 11:27:28 +01:00
parent a99af642bc
commit 5c39e07434
3 changed files with 18 additions and 7 deletions

View File

@@ -171,7 +171,7 @@ glm::uint8_t* Asset::read_all()
if (m_len != fread(m_data, 1, m_len, m_fp))
{
LOG("ASSET READ FAILED for %s", m_current_path.c_str());
delete m_data;
delete[] m_data;
m_data = nullptr;
}
}