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:
Sergey Sharybin 2018-07-31 10:25:54 +02:00
parent 51c38b5d49
commit fe6e751e69
1 changed files with 1 additions and 1 deletions

View File

@ -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