commit | 31bf4fac9546c6fc5911881783ee895cc6b7bd5f | [log] [tgz] |
---|---|---|
author | Yochai Shefi Simchon <joch@graphtech.co.il> | Wed Jul 13 10:46:12 2011 +0300 |
committer | David 'Digit' Turner <digit@android.com> | Thu Jul 14 03:05:38 2011 +0200 |
tree | 6b241189cae2b973a97256500a7b6fd122768506 | |
parent | 76007c3b0e980e8ff0bc53148662c197200109a5 [diff] |
2.0 Translator:GL_INVALID_VALUE on bad program/shader The getGlobalName function returns 0 on error. There are many places were no error checking is done after calling it to get a shader or program name. Typically this shouldn't be an issue, since the follwing OpenGL call using a value of 0 will generated the required GL_INVALID_VALUE, but this does not always happen. Change-Id: I8edf2b152978ffd8626f8b4d778cc624f2a3bec3