From bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 20 Jul 2018 18:14:17 -0400 Subject: video_core: Use nested namespaces where applicable Compresses a few namespace specifiers to be more compact. --- src/video_core/textures/decoders.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/video_core/textures/decoders.cpp') 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 DecodeTexture(const std::vector& texture_data, TextureFormat return rgba_data; } -} // namespace Texture -} // namespace Tegra +} // namespace Tegra::Texture -- cgit v1.2.3