mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
gallium: Fix msvc warning.
This commit is contained in:
parent
81c862205e
commit
82e1026c30
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ a8_put_tile_rgba(ubyte *dst,
|
|||
for (j = 0; j < w; j++, pRow += 4) {
|
||||
unsigned a;
|
||||
a = float_to_ubyte(pRow[3]);
|
||||
*dst++ = a;
|
||||
*dst++ = (ubyte) a;
|
||||
}
|
||||
p += src_stride;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue