- fixed: gl_SetFog set the vertex attribute for software lighting mode without checking if the mode is actually on.