diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_vertex_world.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_vertex_world.glsl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl b/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl index 89a2f391a12..af2e4ba19a2 100644 --- a/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl +++ b/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl @@ -29,11 +29,7 @@ void srgb_to_linearrgb(vec4 col_from, out vec4 col_to) bool is_srgb(int info) { -#ifdef USE_NEW_SHADING return (info == 1)? true: false; -#else - return false; -#endif } void set_var_from_attr(float attr, int info, out float var) |