Update osx ambiguous-call fix to support the varying-precision mechanism

This commit is contained in:
Simon Detheridge
2015-02-21 13:32:15 +00:00
parent cf4f5d9899
commit b222ed4cc3
2 changed files with 5 additions and 2 deletions

View File

@ -377,7 +377,7 @@ string FinalAccumOpenCLKernelCreator<T>::CreateGammaCorrectionFunctionString(boo
os <<
"\n"
" correctedChannels[rgbi] = (" << dataType << ")clamp(a, 0.0f, 255.0f);\n"
" correctedChannels[rgbi] = (" << dataType << ")clamp(a, T(0.0), T(255.0));\n"
" }\n"
"\n";