phoboslab/Ejecta — pull request #326 by Volune (2014-02-17 10:51:55+00:00)
Title: fix getUniformLocation return NULL when uniform location is -1

According to http://www.khronos.org/registry/webgl/specs/latest/1.0/, getUniformLocation should return NULL in some cases.

This fix make getUniformLocation return NULL when the OpenGL call returns -1.