mesa: copy frag coord layout fields too

This commit is contained in:
Brian Paul 2010-02-13 13:51:38 -07:00
parent 46f788c2e5
commit b947b1d433
1 changed files with 2 additions and 0 deletions

View File

@ -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: