I have a shader which has several uniform variables:
uniform vec4 a;
uniform vec4 b;
uniform vec4 c;
I'm getting these handles using glGetUniformLocation()
and storing them in the array. The game was suspended, then resumed and onSurfaceCreated() has been called. The question is: whether these handles will be valid or I need to re-get them using glGetUniformLocation()
once again?