yangqiaosheng / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Add validation of uniform names to glGetUniformLocation #978

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
glGetUniformLocation currently returns valid locations for a lot of invalid 
uniform names, mostly related to array indices.  Validate uniform names at the 
API layer before querying the program's uniforms.

Original issue reported on code.google.com by geofflang@chromium.org on 15 Apr 2015 at 7:04