From 7a3d4d7642ca419948a699c60f44161632e684fc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 18 Apr 2020 22:06:34 -0400 Subject: [PATCH] video_core: Add missing header guards Ensures errors related to multiple inclusions never happen. --- src/video_core/renderer_opengl/gl_shader_decompiler.h | 2 ++ src/video_core/swrasterizer/proctex.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h index 67499960e4..453edf956f 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.h +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h @@ -2,6 +2,8 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#pragma once + #include #include #include diff --git a/src/video_core/swrasterizer/proctex.h b/src/video_core/swrasterizer/proctex.h index 9c2d9c0161..06dc9c011c 100644 --- a/src/video_core/swrasterizer/proctex.h +++ b/src/video_core/swrasterizer/proctex.h @@ -2,6 +2,8 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#pragma once + #include "common/common_types.h" #include "common/vector_math.h" #include "video_core/pica_state.h"