update link_called when link function called.

This commit is contained in:
Christopher Burgos 2019-07-23 12:03:24 -04:00
parent fdbb317d7a
commit bae975258d

View file

@ -182,6 +182,7 @@ impl WebGLProgram {
}
self.linked.set(link_info.linked);
self.link_called.set(true);
*self.active_attribs.borrow_mut() = link_info.active_attribs;
*self.active_uniforms.borrow_mut() = link_info.active_uniforms;
Ok(())