fix imported image aspect ratio and the transform handles for touch devices
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user