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.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/video_core/textures/decoders.h') diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index 2b088c077..73a4924d1 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -8,8 +8,7 @@ #include "common/common_types.h" #include "video_core/textures/texture.h" -namespace Tegra { -namespace Texture { +namespace Tegra::Texture { /** * Unswizzles a swizzled texture without changing its format. @@ -33,5 +32,4 @@ void CopySwizzledData(u32 width, u32 height, u32 bytes_per_pixel, u32 out_bytes_ std::vector DecodeTexture(const std::vector& texture_data, TextureFormat format, u32 width, u32 height); -} // namespace Texture -} // namespace Tegra +} // namespace Tegra::Texture -- cgit v1.2.3