]> git.tdb.fi Git - libs/gl.git/blobdiff - source/lighting.h
Don't store ProgramData in Lighting
[libs/gl.git] / source / lighting.h
index 794fb75a045497eae7c803b2f86aab9c3d42ce58..593d8039fe5c8365269b757f963173b14289cd51 100644 (file)
@@ -5,6 +5,7 @@
 #include "bindable.h"
 #include "color.h"
 #include "gl.h"
+#include "programdata.h"
 
 namespace Msp {
 namespace GL {
@@ -28,6 +29,8 @@ public:
 
        void attach(unsigned, const Light &);
        void detach(unsigned);
+
+       void update_shader_data(ProgramData &, const Matrix &) const;
        void bind() const;
 
        static void unbind();