Used #ifndef in header.txt
This commit is contained in:
parent
f644543bc1
commit
e42cdc5d64
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user