aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-21 18:50:14 -0700
committerGitHub <noreply@github.com>2018-07-21 18:50:14 -0700
commit3ac736c0031672fc16d04b3e3c69ba5dffe75047 (patch)
tree4dba6e9fbaded97082ff2228110d7bda91428593 /src/video_core/textures/decoders.cpp
parentf5e87f4ce19d7841452a1fb2ec3d9233d1dfae81 (diff)
parentbb960c8cb43a3250d971cd8bb4adc5dd0c5baccc (diff)
Merge pull request #748 from lioncash/namespace
video_core: Use nested namespaces where applicable
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 a3684a195..a3e67d105 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