Renamed SDL_SIMDGetAlignment() to SDL_GetSIMDAlignment()

This commit is contained in:
Sam Lantinga
2024-05-16 10:07:02 -07:00
parent 4609af618a
commit 02ff85f2f3
19 changed files with 41 additions and 27 deletions

View File

@@ -171,7 +171,7 @@ SDL_Surface *SDL_CreateSurface(int width, int height, SDL_PixelFormatEnum format
/* Get the pixels */
if (surface->w && surface->h) {
surface->pixels = SDL_aligned_alloc(SDL_SIMDGetAlignment(), size);
surface->pixels = SDL_aligned_alloc(SDL_GetSIMDAlignment(), size);
if (!surface->pixels) {
SDL_DestroySurface(surface);
return NULL;