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
uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix;
@ -61,4 +63,5 @@ layout (std140) uniform LightingData
float rL21;
float rL22;
};
#endif
#endif
#endif // HEADER_TXT