i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 5af48fc97e3350c4ee5b160d8501d2c850177411
parent d6166315867e35fec81168ddb3e4e20cba958bff
Author: Pandora <Pandora@techfo.xyz>
Date:   Fri,  8 Dec 2017 23:21:15 -0500

Merge branch 'master' into dev

Diffstat:
Mblur_simd.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/blur_simd.c b/blur_simd.c
@@ -7,12 +7,12 @@
  *
  */
 
-#include "blur.h"
-#include <xmmintrin.h>
 
 // number of xmm registers needed to store input pixels for given kernel size
-#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4
 #ifdef __SSE2__
+#include "blur.h"
+#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4
+#include <xmmintrin.h>
 void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height) {
     uint32_t* o_src = src;
     for (int row = 0; row < height; row++) {