fixed fatal in ogl when reloading shaders