diff options
| author | 2018-07-20 18:14:17 -0400 | |
|---|---|---|
| committer | 2018-07-20 18:23:54 -0400 | |
| commit | bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc (patch) | |
| tree | c7745ac491c15a6d4519548812a7105903410a18 /src/video_core/textures/decoders.cpp | |
| parent | Merge pull request #740 from Subv/acc_crash (diff) | |
| download | yuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.tar.gz yuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.tar.xz yuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.zip | |
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
| -rw-r--r-- | src/video_core/textures/decoders.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index a3684a195..a3e67d105 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -10,8 +10,7 @@ | |||
| 10 | #include "video_core/textures/decoders.h" | 10 | #include "video_core/textures/decoders.h" |
| 11 | #include "video_core/textures/texture.h" | 11 | #include "video_core/textures/texture.h" |
| 12 | 12 | ||
| 13 | namespace Tegra { | 13 | namespace Tegra::Texture { |
| 14 | namespace Texture { | ||
| 15 | 14 | ||
| 16 | /** | 15 | /** |
| 17 | * Calculates the offset of an (x, y) position within a swizzled texture. | 16 | * Calculates the offset of an (x, y) position within a swizzled texture. |
| @@ -186,5 +185,4 @@ std::vector<u8> DecodeTexture(const std::vector<u8>& texture_data, TextureFormat | |||
| 186 | return rgba_data; | 185 | return rgba_data; |
| 187 | } | 186 | } |
| 188 | 187 | ||
| 189 | } // namespace Texture | 188 | } // namespace Tegra::Texture |
| 190 | } // namespace Tegra | ||