src/cpuinfo/SDL_cpuinfo.c
changeset 13151 568f67c04841
parent 13082 f77988be3607
child 13173 de3493dacdaf
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Sat Oct 19 01:54:02 2019 -0700
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Sun Oct 20 22:17:59 2019 -0400
     1.3 @@ -620,7 +620,7 @@
     1.4      if (SDL_CPUFeatures == 0xFFFFFFFF) {
     1.5          CPU_calcCPUIDFeatures();
     1.6          SDL_CPUFeatures = 0;
     1.7 -        SDL_SIMDAlignment = 4;  /* a good safe base value */
     1.8 +        SDL_SIMDAlignment = sizeof(void *);  /* a good safe base value */
     1.9          if (CPU_haveRDTSC()) {
    1.10              SDL_CPUFeatures |= CPU_HAS_RDTSC;
    1.11          }