As far as I can tell, this is your graphics driver failing to compile the fragment shader. It *could* be an issue of your GL driver throwing an error when it encounters "precision mediump float;", which is there for GLES compatability but is supposed to do nothing with regular GL. I suppose it would be best to remove that line when not using GLES, but I don't know if that would fix your problem or not.