mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
swrast: init alpha value to 1.0 in opt_sample_rgb_2d()
(cherry picked from commit 6a0255122a)
This commit is contained in:
parent
0d060d9933
commit
68afe8f685
1 changed files with 1 additions and 0 deletions
|
|
@ -1368,6 +1368,7 @@ opt_sample_rgb_2d(GLcontext *ctx,
|
|||
rgba[k][RCOMP] = UBYTE_TO_FLOAT(texel[2]);
|
||||
rgba[k][GCOMP] = UBYTE_TO_FLOAT(texel[1]);
|
||||
rgba[k][BCOMP] = UBYTE_TO_FLOAT(texel[0]);
|
||||
rgba[k][ACOMP] = 1.0F;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue