summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-02-17 04:25:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-02-17 04:25:24 +0000
commit5cd79f9267c5ce71d9fc3355ab0ba8fe5fdf636a (patch)
treeb249111aad7b974ba9db6865ab9dd98c2cf9f47e /src/mesa
parentc2f6d6d092cb769416af453a9b8e216b20747bec (diff)
added FogOption to fragment_program struct
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/arbfragparse.c1
-rw-r--r--src/mesa/main/mtypes.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/arbfragparse.c b/src/mesa/main/arbfragparse.c
index 0443862020..bce8732f25 100644
--- a/src/mesa/main/arbfragparse.c
+++ b/src/mesa/main/arbfragparse.c
@@ -206,6 +206,7 @@ _mesa_parse_arb_fragment_program(GLcontext * ctx, GLenum target,
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 a8f0edba8b..508a363f16 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1571,6 +1571,7 @@ struct fragment_program
GLuint NumAluInstructions; /**< GL_ARB_fragment_program */
GLuint NumTexInstructions;
GLuint NumTexIndirections;
+ GLenum FogOption;
struct program_parameter_list *Parameters; /**< array [NumParameters] */
};