aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.h
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
commitbb960c8cb43a3250d971cd8bb4adc5dd0c5baccc (patch)
treec7745ac491c15a6d4519548812a7105903410a18 /src/video_core/textures/decoders.h
parentc1c9ab31e80a182d03765658191bfd3a6c8a691f (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.h')
-rw-r--r--src/video_core/textures/decoders.h6
1 files changed, 2 insertions, 4 deletions
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<u8> DecodeTexture(const std::vector<u8>& texture_data, TextureFormat format, u32 width,
u32 height);
-} // namespace Texture
-} // namespace Tegra
+} // namespace Tegra::Texture