HeavenWu / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

SetVertex/PixelShaderConstant(int, array<>) does not work! #636

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi guys!

Found some issues introduced with the fix of Issue 604:
SetPixelShaderConstant(int, array<float>)
SetPixelShaderConstant(int, array<int>)
SetVertexShaderConstant(int, array<float>)
SetVertexShaderConstant(int, array<int>)
do not work anymore!

This is because of the call Utilities::CheckArrayBounds(data, offset, count*4);
In this case 'count' is not set to the correct value. I´m wondering why
this statement works anyhow without compiler warnings/errors.

Your are doing a great job. Keep it up!
Karol

Original issue reported on code.google.com by k...@ventuz.com on 16 Mar 2010 at 1:36

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1484.

Original comment by Mike.Popoloski on 31 Mar 2010 at 7:22