elyctech / web-gill

Gill is a WebGL-based rendering utility.
MIT License
0 stars 0 forks source link

Handle Updating Attribute and Uniform Type Configuration Better #19

Open dawsonc623 opened 7 years ago

dawsonc623 commented 7 years ago

In the provided GillWebglService, setAttributeType and setUniformType both simply obliterate previous configuration without any warning. Either this code should error out if the type is already configured, or it should be specified somewhere that the old configuration would be overwritten.