mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Detect SSE/SSE2 for libsquish.
This commit is contained in:
parent
b6e0eaf3ca
commit
b6259661ce
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user