mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
Make _mesa_swizzle_and_convert argument types in .c match those in .h
Caused Solaris Studio compilers to fail to build with errors about
incompatible function redefinitions.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit b7ce7c00e3)
This commit is contained in:
parent
2f8e96f71d
commit
3e513ea65c
1 changed files with 2 additions and 2 deletions
|
|
@ -1423,8 +1423,8 @@ convert_int(void *void_dst, int num_dst_channels,
|
|||
* \param[in] count the number of pixels to convert
|
||||
*/
|
||||
void
|
||||
_mesa_swizzle_and_convert(void *void_dst, GLenum dst_type, int num_dst_channels,
|
||||
const void *void_src, GLenum src_type, int num_src_channels,
|
||||
_mesa_swizzle_and_convert(void *void_dst, enum mesa_array_format_datatype dst_type, int num_dst_channels,
|
||||
const void *void_src, enum mesa_array_format_datatype src_type, int num_src_channels,
|
||||
const uint8_t swizzle[4], bool normalized, int count)
|
||||
{
|
||||
if (swizzle_convert_try_memcpy(void_dst, dst_type, num_dst_channels,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue