diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-26 06:24:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 06:24:39 -0500 |
commit | 3b11c5ea2d3d6e68d4f9609e5e2a81056bfb27d0 (patch) | |
tree | 87a8bf3baf39969cf7e6bd9cc7ee54e33e286185 /components/script/dom/bindings/utils.rs | |
parent | 2ad6a7e612ea627cd90ecc3a120b3fc2bfdafa64 (diff) | |
parent | 15fa1a5a7d967e01e479ac5ef0d95734048a0376 (diff) | |
download | servo-3b11c5ea2d3d6e68d4f9609e5e2a81056bfb27d0.tar.gz servo-3b11c5ea2d3d6e68d4f9609e5e2a81056bfb27d0.zip |
Auto merge of #13052 - anholt:webgl-drawelements-types, r=nox
webgl: Fix validation of drawElements()'s type argument.
<!-- Please describe your changes on the following line: -->
webgl: Fix validation of drawElements()'s type argument.
---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Fixes crash due to unexpected GL errors in gl-drawelements.html.
<!-- 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/13052)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
0 files changed, 0 insertions, 0 deletions