Function loadShader throwing a NullPointerException for no reason

Is it possible that it’s trying to enable the shader before the P2D / P3D is set up and running?

1 Like