diff options
Diffstat (limited to 'wrapper/wrapper.cpp')
| -rw-r--r-- | wrapper/wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp index 3ff9129..74e8683 100644 --- a/wrapper/wrapper.cpp +++ b/wrapper/wrapper.cpp @@ -188,7 +188,7 @@ public ref struct ArbitraryLut sealed : public LutBase { pin_ptr<float> pdata = &data[0,0]; - accel.arb_lut.fill(reinterpret_cast<vec2<float>*>(pdata), data->Length); + accel.arb_lut.fill(reinterpret_cast<vec2<float>*>(pdata), data->Length/2); } }; |