diff options
author | Ian Romanick <[email protected]> | 2011-04-15 19:04:57 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-04-21 17:33:29 -0700 |
commit | 4d203a01e20dedcfaab09c18922e8ed9dcb39729 (patch) | |
tree | dc971f5c91cbca5f7d4f7a6c071baf498db243cc /src/mesa/program/program.c | |
parent | df7555e763b9a4d989788e9b1cd25e8740649e79 (diff) |
mesa: Kill gl_fragment_program::FogOption with fire
All drivers expect this to always be GL_NONE. Don't let there be any
opportunity for a bad value to leak out and infect some unsuspecting
driver. If any driver for hardware that had fixed-function
per-fragment fog (i915 and perhaps some r300-ish) was ever going to
add support, it would have done it by now.
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Corbin Simpson <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 5b014872ed4..78efca9f122 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -557,7 +557,6 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) const struct gl_fragment_program *fp = (const struct gl_fragment_program *) prog; struct gl_fragment_program *fpc = (struct gl_fragment_program *) clone; - fpc->FogOption = fp->FogOption; fpc->UsesKill = fp->UsesKill; fpc->OriginUpperLeft = fp->OriginUpperLeft; fpc->PixelCenterInteger = fp->PixelCenterInteger; |