diff options
author | 2016-09-12 19:47:26 +0200 | |
---|---|---|
committer | 2016-09-12 20:05:43 +0200 | |
commit | e8cdc22245835cb17c82a9dc1525ffa793e34541 (patch) | |
tree | b797253c3dfac14b2df2536ed5c8e2c9e578dea8 /README.md | |
parent | b261e1e782cfa12b70b4601b136e07df16bdd651 (diff) |
vo_opengl: better behavior in GL error corner cases
If the shader fails to compile, and assertion could trigger in
gl_sc_gen_shader_and_reset() due to the code trying to recreate the
shader every time, and re-appending the uniforms every time. Just reset
the uniform array to fix this.
Some disturbed GL drivers might not return anything for glGetShaderiv()
if the GL state got "lost", so initialize variables just for additional
robustness.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions