check if the correct `glUniform*` overload was used to update the current variable (if this is at all possible)