Fix call to in FinalAccumOpenCLKernelCreator.cpp to use real_t, not T()

This commit is contained in:
Simon Detheridge 2015-03-01 16:49:16 +00:00
parent f906e06927
commit f3987d2858

View File

@ -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";