aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 18:14:17 -0400
committerLioncash <mathew1800@gmail.com>2018-07-20 18:23:54 -0400
commitbdfd46e192a46ac51c37f56073b9b40e1649aa49 (patch)
treec7745ac491c15a6d4519548812a7105903410a18 /src/video_core/textures/decoders.cpp
parentb82c160eff33aabbe78ae271d6e60054fd103775 (diff)
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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp
index a3684a1958..a3e67d105f 100644
--- a/src/video_core/textures/decoders.cpp
+++ b/src/video_core/textures/decoders.cpp
@@ -10,8 +10,7 @@
#include "video_core/textures/decoders.h"
#include "video_core/textures/texture.h"
-namespace Tegra {
-namespace Texture {
+namespace Tegra::Texture {
/**
* 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
return rgba_data;
}
-} // namespace Texture
-} // namespace Tegra
+} // namespace Tegra::Texture