mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #23837 - cburgos:bugfix/link_called-update, r=jdm
update link_called when link function called. <!-- Please describe your changes on the following line: --> On call of WebGLProgram::link update link_called to true --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #23722 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23837) <!-- Reviewable:end -->
This commit is contained in:
commit
7adf022dfa
1 changed files with 1 additions and 0 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue