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/texture.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/video_core/textures/texture.h') diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index a17eaf19d..d1c755033 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -10,8 +10,7 @@ #include "common/common_types.h" #include "video_core/memory_manager.h" -namespace Tegra { -namespace Texture { +namespace Tegra::Texture { enum class TextureFormat : u32 { R32_G32_B32_A32 = 0x01, @@ -260,5 +259,4 @@ struct FullTextureInfo { /// Returns the number of bytes per pixel of the input texture format. u32 BytesPerPixel(TextureFormat format); -} // namespace Texture -} // namespace Tegra +} // namespace Tegra::Texture -- cgit v1.2.3