diff options
author | Jerome Glisse <[email protected]> | 2007-01-11 12:53:06 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2007-01-11 12:54:42 +0100 |
commit | b55f1ec9af30ddc5fa44818f85518fffe4580dc6 (patch) | |
tree | 8c813b93ace57c364a63c2951d3b55fdd0c85dbc /src/mesa/drivers | |
parent | 3dd243c59eb48bcf330a5d667d93b93c1226eae2 (diff) |
Fix typo from commit 1d312ae0137eb39bf74fac91eb97ed25c289a4ca .
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c index 179bc58e9e9..6e85f0b5ddc 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog.c +++ b/src/mesa/drivers/dri/r300/r300_fragprog.c @@ -463,7 +463,7 @@ static int swz_native(struct r300_fragment_program *rp, GLuint arbneg) { /* Native swizzle, handle negation */ - src = (src & ~REG_NEGS_SHIFT) | + src = (src & ~REG_NEGS_MASK) | (((arbneg >> 3) & 1) << REG_NEGS_SHIFT); if ((arbneg & 0x7) == 0x0) { |