1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00

Properly detect SSE2 on 32-bit systems

This commit is contained in:
Sebastian Frysztak 2017-02-15 12:22:44 +01:00
parent bef18f2b74
commit efcee548b2

2
blur.c
View file

@ -82,7 +82,7 @@ blur_image_surface (cairo_surface_t *surface, int sigma)
// instead of writing pixel src[x] to dst[x], // instead of writing pixel src[x] to dst[x],
// we write it to transposed location. // we write it to transposed location.
// (to be exact: dst[height * current_column + current_row]) // (to be exact: dst[height * current_column + current_row])
#ifdef __x86_64__ #ifdef __SSE2__
blur_impl_horizontal_pass_sse2(src, dst, width, height); blur_impl_horizontal_pass_sse2(src, dst, width, height);
blur_impl_horizontal_pass_sse2(dst, src, height, width); blur_impl_horizontal_pass_sse2(dst, src, height, width);
#else #else