added FogOption to fragment_program struct
diff --git a/src/mesa/main/arbfragparse.c b/src/mesa/main/arbfragparse.c
index 0443862..bce8732 100644
--- a/src/mesa/main/arbfragparse.c
+++ b/src/mesa/main/arbfragparse.c
@@ -206,6 +206,7 @@
    program->NumTexInstructions = ap.NumTexInstructions;
    program->NumTexIndirections = ap.NumTexIndirections;
    program->Parameters         = ap.Parameters;
+   program->FogOption          = ap.FogOption;
 
    /* XXX: Parse error. Cleanup things and return */	
    if (retval)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a8f0edb..508a363 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1571,6 +1571,7 @@
    GLuint NumAluInstructions; /**< GL_ARB_fragment_program */
    GLuint NumTexInstructions;
    GLuint NumTexIndirections;
+   GLenum FogOption;
    struct program_parameter_list *Parameters; /**< array [NumParameters] */
 };