From ffa63d2de6714aeda8a226b9e11d9b9e0b8d94d6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Apr 2017 19:10:55 +1000 Subject: Use regular header guards in GPU --- source/blender/gpu/GPU_immediate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/gpu/GPU_immediate.h') diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h index 28522da5f28..2eb4eb94f48 100644 --- a/source/blender/gpu/GPU_immediate.h +++ b/source/blender/gpu/GPU_immediate.h @@ -28,7 +28,8 @@ * This file contains any additions or modifications specific to Blender. */ -#pragma once +#ifndef __GPU_IMMEDIATE_H__ +#define __GPU_IMMEDIATE_H__ #include "../../../intern/gawain/gawain/immediate.h" #include "../../../intern/gawain/gawain/imm_util.h" @@ -54,3 +55,4 @@ void immUniformThemeColorBlendShade(int color_id1, int color_id2, float fac, int void immUniformThemeColorBlend(int color_id1, int color_id2, float fac); void immThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset); +#endif /* __GPU_IMMEDIATE_H__ */ -- cgit v1.2.3