Used #ifndef in header.txt

This commit is contained in:
Vincent Lejeune 2014-12-18 18:54:40 +01:00
parent f644543bc1
commit e42cdc5d64

View File

@ -1,3 +1,5 @@
#ifndef HEADER_TXT
#define HEADER_TXT
#ifdef UBO_DISABLED #ifdef UBO_DISABLED
uniform mat4 ViewMatrix; uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix; uniform mat4 ProjectionMatrix;
@ -62,3 +64,4 @@ layout (std140) uniform LightingData
float rL22; float rL22;
}; };
#endif #endif
#endif // HEADER_TXT