mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
webgl: Implement the pending texImage2D overload, and add more validation
This is a large-ish refactor of the Texture2D code, but it should be easier to read and of course more correct. I tried to annotate every error condition with a spec paragraph.
This commit is contained in:
parent
19a5a9ad08
commit
87e112dea7
3 changed files with 288 additions and 34 deletions
|
@ -1,5 +0,0 @@
|
|||
[texImage2D.html]
|
||||
type: testharness
|
||||
[WebGL test #0: testTexImage2D]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue