Fix cycles backwards compatibility for specular_toon shader this actually needs
[blender.git] / intern / cycles / kernel / shaders / stdosl.h
index 09217e52b556ae6ca7812ed7dedb89070604c771..24c3e187783a4c4cbfdc27109a04e9286e17e7e0 100644 (file)
@@ -467,10 +467,7 @@ closure color bssrdf_cubic(normal N, vector radius) BUILTIN;
 
 // Backwards compatibility
 
-closure color specular_toon(normal N, float size, float smooth)
-{
-       return glossy_toon(N, size, smooth);
-}
+closure color specular_toon(normal N, float size, float smooth) BUILTIN;
 
 // Renderer state
 int raytype (string typename) BUILTIN;