X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flighting.cpp;h=f5fbca6ac7ac954c5a2c63cd75590557e4245660;hb=f159ebc4120fb057c9d59efb0e5c7c36bff6f40a;hp=515733a6b253e13a69f2b8a117680a73f487e6cf;hpb=a6acc6fc98f8571eaaa66f726c1ff4d60abe4f58;p=libs%2Fgl.git diff --git a/source/lighting.cpp b/source/lighting.cpp index 515733a6..f5fbca6a 100644 --- a/source/lighting.cpp +++ b/source/lighting.cpp @@ -41,7 +41,7 @@ void Lighting::detach(unsigned i) Light::unbind_from(i); } -void Lighting::update_shader_data(const Matrix &view_matrix) +void Lighting::update_shader_data(ProgramData &shdata, const Matrix &view_matrix) const { shdata.uniform("ambient_color", ambient); for(unsigned i=0; i