AbstractTexture: Return config by const reference

Returning by const value isn't really necessary (and usually an indicator const reference was intended).
This commit is contained in:
Lioncash
2017-06-18 23:33:15 -04:00
parent 07cddf6f7f
commit 59a947d41d
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ size_t AbstractTexture::CalculateHostTextureLevelPitch(AbstractTextureFormat for
}
}
const TextureConfig AbstractTexture::GetConfig() const
const TextureConfig& AbstractTexture::GetConfig() const
{
return m_config;
}