]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/light.cpp
Remove deprecated interfaces from material and lighting code
[libs/gl.git] / source / materials / light.cpp
index 8f5461727879545999e4566827a8574cc5c6ff7c..7c78b393fc32431b43904ed1dcdd14409446bb94 100644 (file)
@@ -129,10 +129,6 @@ Light::Loader::Loader(Light &l):
        add("spot_direction", &Loader::spot_direction);
        add("spot_exponent", &Loader::spot_exponent);
        add("spot_cutoff", &Loader::spot_cutoff);
-
-       // Deprecated
-       add("diffuse", &Loader::color);
-       add("specular");
 }
 
 void Light::Loader::attenuation(float c, float l, float q)