I\'m having a very difficult problem creating a shader program on android. when I call glCreateShader or glCreateProgram each always returns 0.
I\'ve covered all my
For the ones who are looking for the answer, it is hidden in the comments. I am quoting @Reigertje from comments.
Shader calls should be within a GL thread that is onSurfaceChanged(), onSurfaceCreated() or onDrawFrame()