mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: fix alpha value for texstore_rgbx8888
Silences constant overflow compiler warning.
This commit is contained in:
parent
c7339d42c6
commit
8778bf221e
1 changed files with 1 additions and 1 deletions
|
|
@ -3182,7 +3182,7 @@ _mesa_texstore_signed_rgbx8888(TEXSTORE_PARAMS)
|
|||
dst[3] = FLOAT_TO_BYTE_TEX(srcRow[RCOMP]);
|
||||
dst[2] = FLOAT_TO_BYTE_TEX(srcRow[GCOMP]);
|
||||
dst[1] = FLOAT_TO_BYTE_TEX(srcRow[BCOMP]);
|
||||
dst[0] = 0xff;
|
||||
dst[0] = 127;
|
||||
srcRow += 3;
|
||||
dst += 4;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue