diff options
author | Brian Paul <[email protected]> | 2010-02-13 13:51:38 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-13 13:51:38 -0700 |
commit | b947b1d433ec5a847a3071c0daac7918924f3f49 (patch) | |
tree | 4c821459ca095aad5ffbfe06cf847693d613addb /src/mesa | |
parent | 46f788c2e51630915e5a8cef074daeff8f7fc8cc (diff) |
mesa: copy frag coord layout fields too
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index aaf5f96e2a5..18ef6d5ccfa 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -505,6 +505,8 @@ _mesa_clone_program(GLcontext *ctx, const struct gl_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; } break; default: |