[PATCH vkd3d 5/6] vkd3d-shader: Write the SM1 constant table.

Giovanni Mascellani gmascellani at codeweavers.com
Thu Apr 15 06:19:26 CDT 2021


Hi,

Il 14/04/21 14:57, Henri Verbeet ha scritto:
> You pretty much never want to use strcpy(). In this particular case,
> we already calculated the string length above, and could use memcpy().

Why?

In this case I agree, since you already know the length. But is there a 
general reason for not wanting to use strcpy?

Thanks, Gio.




More information about the wine-devel mailing list