Unshaded.vert: put declaration in #ifdef to avoid an unused uniform
This commit is contained in:
parent
259f599d1d
commit
dcb92e1d15
@ -16,7 +16,9 @@ varying vec2 texCoord1;
|
|||||||
varying vec2 texCoord2;
|
varying vec2 texCoord2;
|
||||||
|
|
||||||
varying vec4 vertColor;
|
varying vec4 vertColor;
|
||||||
uniform float m_PointSize;
|
#ifdef HAS_POINTSIZE
|
||||||
|
uniform float m_PointSize;
|
||||||
|
#endif
|
||||||
|
|
||||||
void main(){
|
void main(){
|
||||||
#ifdef NEED_TEXCOORD1
|
#ifdef NEED_TEXCOORD1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user