Skip to content

Commit

Permalink
Use scalar mode on ARM Linux (#168)
Browse files Browse the repository at this point in the history
When the current architecture lacks SSE instructions, force the sound module's mode to scalar.
  • Loading branch information
pusewicz authored Jul 15, 2024
1 parent f409d73 commit 1e33b19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/cute_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
# define CF_WINDOWS 1
#elif defined(__linux__) || defined(__unix__) && !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
# define CF_LINUX 1
# if !defined(__SSE__)
# define CUTE_SOUND_SCALAR_MODE
# endif
#elif defined(__APPLE__)
# define CF_APPLE 1
# include <TargetConditionals.h>
Expand Down

0 comments on commit 1e33b19

Please sign in to comment.