mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -05:00
Fix call to in FinalAccumOpenCLKernelCreator.cpp to use real_t, not T()
This commit is contained in:
parent
f906e06927
commit
f3987d2858
@ -377,7 +377,7 @@ string FinalAccumOpenCLKernelCreator<T>::CreateGammaCorrectionFunctionString(boo
|
||||
|
||||
os <<
|
||||
"\n"
|
||||
" correctedChannels[rgbi] = (" << dataType << ")clamp(a, T(0.0), T(255.0));\n"
|
||||
" correctedChannels[rgbi] = (" << dataType << ")clamp(a, (real_t)0.0, (real_t)255.0);\n"
|
||||
" }\n"
|
||||
"\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user