projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f788c
)
mesa: copy frag coord layout fields too
author
Brian Paul
<brianp@vmware.com>
Sat, 13 Feb 2010 20:51:38 +0000
(13:51 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 13 Feb 2010 20:51:38 +0000
(13:51 -0700)
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index aaf5f96e2a58be81fa63cd6af1c489f939907fb5..18ef6d5ccfa651c9fec340473b77455973305a98 100644
(file)
--- 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: