diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-06-18 23:33:15 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-06-18 23:38:42 -0400 |
| commit | 59a947d41db3d5c603deeb5ffc40afec0ecc61f1 (patch) | |
| tree | 526c5852088ea361d71279fb4e9f6018d740152f /Source/Core/VideoCommon/AbstractTexture.cpp | |
| parent | 07cddf6f7fe7399be9c3ba279726afcb2b052d63 (diff) | |
AbstractTexture: Return config by const reference
Returning by const value isn't really necessary (and usually an indicator const reference was intended).
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AbstractTexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp index 1b6fac8bff..b756651640 100644 --- a/Source/Core/VideoCommon/AbstractTexture.cpp +++ b/Source/Core/VideoCommon/AbstractTexture.cpp @@ -38,7 +38,7 @@ size_t AbstractTexture::CalculateHostTextureLevelPitch(AbstractTextureFormat for } } -const TextureConfig AbstractTexture::GetConfig() const +const TextureConfig& AbstractTexture::GetConfig() const { return m_config; } |
