From e42cdc5d6476997d1fe51e9ba7b4dc7b7ecfa0cf Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Thu, 18 Dec 2014 18:54:40 +0100 Subject: [PATCH] Used #ifndef in header.txt --- data/shaders/header.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/shaders/header.txt b/data/shaders/header.txt index 4ad33bd2a..a14e9539a 100644 --- a/data/shaders/header.txt +++ b/data/shaders/header.txt @@ -1,3 +1,5 @@ +#ifndef HEADER_TXT +#define HEADER_TXT #ifdef UBO_DISABLED uniform mat4 ViewMatrix; uniform mat4 ProjectionMatrix; @@ -61,4 +63,5 @@ layout (std140) uniform LightingData float rL21; float rL22; }; -#endif \ No newline at end of file +#endif +#endif // HEADER_TXT