diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2017-09-02 21:30:34 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2017-11-17 22:11:31 -0600 |
| commit | 53684701fa1f9a787f8d089d864c5c1c97effa8c (patch) | |
| tree | 5d53b3b69b6be593a006e3f281aa56b49f1e0a20 /Source/Core/VideoBackends/Software/SWTexture.cpp | |
| parent | 725d14e4c67ee5568b24595567b3b007d9e9e231 (diff) | |
HybridXFB: Fix lint errors
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWTexture.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWTexture.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Software/SWTexture.cpp b/Source/Core/VideoBackends/Software/SWTexture.cpp index e2752fe0c7..b42f3d4e21 100644 --- a/Source/Core/VideoBackends/Software/SWTexture.cpp +++ b/Source/Core/VideoBackends/Software/SWTexture.cpp @@ -10,7 +10,6 @@ namespace SW { - SWTexture::SWTexture(const TextureConfig& tex_config) : AbstractTexture(tex_config) { } @@ -23,11 +22,12 @@ void SWTexture::CopyRectangleFromTexture(const AbstractTexture* source, const MathUtil::Rectangle<int>& srcrect, const MathUtil::Rectangle<int>& dstrect) { - const SWTexture * software_source_texture = static_cast<const SWTexture*>(source); + const SWTexture* software_source_texture = static_cast<const SWTexture*>(source); if (srcrect.GetWidth() == dstrect.GetWidth() && srcrect.GetHeight() == dstrect.GetHeight()) { - m_data.assign(software_source_texture->GetData(), software_source_texture->GetData() + m_data.size()); + m_data.assign(software_source_texture->GetData(), + software_source_texture->GetData() + m_data.size()); } else { @@ -53,8 +53,8 @@ u8* SWTexture::GetData() std::optional<AbstractTexture::RawTextureInfo> SWTexture::MapFullImpl() { - return AbstractTexture::RawTextureInfo{ GetData(), - m_config.width * 4, m_config.width, m_config.height }; + return AbstractTexture::RawTextureInfo{GetData(), m_config.width * 4, m_config.width, + m_config.height}; } } // namespace SW |
