Merge pull request #8571 from tagcup/squish_sse

Detect SSE/SSE2 for libsquish.
This commit is contained in:
Rémi Verschelde 2017-05-02 11:29:16 +02:00 committed by GitHub
commit 9a40b92b8a

View file

@ -31,6 +31,12 @@
#include "print_string.h"
#if defined(__SSE2__)
#define SQUISH_USE_SSE 2
#elif defined(__SSE__)
#define SQUISH_USE_SSE 1
#endif
#include <squish.h>
void image_compress_squish(Image *p_image) {