diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-03-30 18:37:32 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-03-30 18:37:32 +0000 |
commit | aed8a96ef22f29b29315c14af6e2148bb9e2bbda (patch) | |
tree | ca5b7e148cd4769e35643560fc96f549214d1f2e /src/mesa/main | |
parent | 03b7aee4387aac9ad896f2b6d26ddbb16bdffcf9 (diff) | |
download | external_mesa3d-aed8a96ef22f29b29315c14af6e2148bb9e2bbda.zip external_mesa3d-aed8a96ef22f29b29315c14af6e2148bb9e2bbda.tar.gz external_mesa3d-aed8a96ef22f29b29315c14af6e2148bb9e2bbda.tar.bz2 |
fixed typos in generate_lookup_tables()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texutil.c b/src/mesa/main/texutil.c index c3fca54..67805c8 100644 --- a/src/mesa/main/texutil.c +++ b/src/mesa/main/texutil.c @@ -1281,7 +1281,7 @@ generate_lookup_tables(void) A4R4G4B4toRed[i] = r; A4R4G4B4toGreen[i] = g; A4R4G4B4toBlue[i] = b; - A4R4G4B4toAlpha[i] = b; + A4R4G4B4toAlpha[i] = a; } for (i = 0; i <= 0xffff; i++) { @@ -1296,7 +1296,7 @@ generate_lookup_tables(void) A1R5G5B5toRed[i] = r; A1R5G5B5toGreen[i] = g; A1R5G5B5toBlue[i] = b; - A1R5G5B5toAlpha[i] = b; + A1R5G5B5toAlpha[i] = a; } } |