[PATCH 2/5] d3dx9_36: Implemented ID3DXConstantTable_SetIntArray and ID3DXConstantTable_SetInt

Matteo Bruni matteo.mystral at gmail.com
Tue Feb 8 06:10:52 CST 2011


> +       /* We need the for loop, since we need to convert the integer to a float */
> +        for (i = 0; i < count && i < desc.RegisterCount; i++)
> +        {
> +            row[0] = (float)n[i];

The cast is unneeded, and the comment above is too.



More information about the wine-devel mailing list