summaryrefslogtreecommitdiff
path: root/src/video_core/textures/texture.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-20 18:14:17 -0400
committerGravatar Lioncash2018-07-20 18:23:54 -0400
commitbb960c8cb43a3250d971cd8bb4adc5dd0c5baccc (patch)
treec7745ac491c15a6d4519548812a7105903410a18 /src/video_core/textures/texture.h
parentMerge pull request #740 from Subv/acc_crash (diff)
downloadyuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.tar.gz
yuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.tar.xz
yuzu-bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc.zip
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
Diffstat (limited to 'src/video_core/textures/texture.h')
-rw-r--r--src/video_core/textures/texture.h6
1 files changed, 2 insertions, 4 deletions
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 @@
10#include "common/common_types.h" 10#include "common/common_types.h"
11#include "video_core/memory_manager.h" 11#include "video_core/memory_manager.h"
12 12
13namespace Tegra { 13namespace Tegra::Texture {
14namespace Texture {
15 14
16enum class TextureFormat : u32 { 15enum class TextureFormat : u32 {
17 R32_G32_B32_A32 = 0x01, 16 R32_G32_B32_A32 = 0x01,
@@ -260,5 +259,4 @@ struct FullTextureInfo {
260/// Returns the number of bytes per pixel of the input texture format. 259/// Returns the number of bytes per pixel of the input texture format.
261u32 BytesPerPixel(TextureFormat format); 260u32 BytesPerPixel(TextureFormat format);
262 261
263} // namespace Texture 262} // namespace Tegra::Texture
264} // namespace Tegra