Solve bug on Windows when using OpenMP+SSE in a more elegant way (see issue 1806)

This commit is contained in:
Philip Rinn
2013-03-29 15:19:22 +01:00
parent 5bd68ce99a
commit 87414bc8be
4 changed files with 25 additions and 20 deletions

View File

@@ -40,8 +40,11 @@ namespace rtengine {
extern const Settings* settings;
#if defined( __SSE__ ) && defined( WIN32 )
__attribute__((force_align_arg_pointer)) void ImProcFunctions::dcdamping (float** aI, float** aO, float damping, int W, int H) {
#else
void ImProcFunctions::dcdamping (float** aI, float** aO, float damping, int W, int H) {
#endif
const float dampingFac=-2.0/(damping*damping);