Workbench: Correct ifndef after recent changes
Usage of matcap image uniform had different ifdef than definition of that uniform. Assuming the usage was correct, and the definition needed an update. Prevents shader from compilation failure and from aborts in debug builds.
This commit is contained in:
parent
51c38b5d49
commit
fe6e751e69
|
@ -19,7 +19,7 @@ in vec3 normal_viewport;
|
|||
#ifdef V3D_SHADING_TEXTURE_COLOR
|
||||
in vec2 uv_interp;
|
||||
#endif
|
||||
#ifdef STUDIOLIGHT_ORIENTATION_VIEWNORMAL
|
||||
#ifdef V3D_LIGHTING_MATCAP
|
||||
uniform sampler2D matcapImage;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue