Created attachment 8493450 [details] [diff] [review] Convert texture format enums to STRONG_GLENUMs WebGL1 had the nice property that format==internalformat in texImage2D. That's no longer true in WebGL2. So now we need to go over our code and differentiate what should be format from what should be internalformat. The only way that I know to reason about it is by stronger typing; fortunately we have STRONG_GLENUMs.
Attachment #8493450 - Flags: review?(dglastonbury)
Attachment #8493450 - Flags: review?(dglastonbury) → review+
Assignee: nobody → bjacob
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.