1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Detect SSE/SSE2 for libsquish.

(cherry picked from commit b6259661ce)
This commit is contained in:
Ferenc Arn
2017-04-28 12:47:35 -05:00
committed by Rémi Verschelde
parent e43e7a414a
commit 1b25762c3d

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) {