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
|
||||
uniform mat4 ViewMatrix;
|
||||
uniform mat4 ProjectionMatrix;
|
||||
@ -61,4 +63,5 @@ layout (std140) uniform LightingData
|
||||
float rL21;
|
||||
float rL22;
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
#endif // HEADER_TXT
|
||||
|
Loading…
Reference in New Issue
Block a user