]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.cpp
Add overloads of keyframe uniform statements without size suffixes
[libs/gl.git] / source / pipeline.cpp
index 27cc3e3c63cc9d274e3573c7da915b21b846899d..53b51d7924bc91cfeb6b8c4e84ef6cf24134061a 100644 (file)
@@ -27,6 +27,11 @@ Pipeline::Pipeline(const View &view)
        init(view.get_width(), view.get_height());
 }
 
+Pipeline::Pipeline(const Framebuffer &fbo)
+{
+       init(fbo.get_width(), fbo.get_height());
+}
+
 void Pipeline::init(unsigned w, unsigned h)
 {
        camera = 0;