Renamed SDL_SIMDGetAlignment() to SDL_GetSIMDAlignment()

This commit is contained in:
Sam Lantinga committed 2024-05-16 10:22:15 -07:00
1 parent 4609af618a
commit 02ff85f2f3
19 files changed
+41 -27

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ SDL_SW_YUVTexture *SDL_SW_CreateYUVTexture(SDL_PixelFormatEnum format, int w, in
SDL_SW_DestroyYUVTexture(swdata);
return NULL;
}
swdata->pixels = (Uint8 *)SDL_aligned_alloc(SDL_SIMDGetAlignment(), dst_size);
swdata->pixels = (Uint8 *)SDL_aligned_alloc(SDL_GetSIMDAlignment(), dst_size);
if (!swdata->pixels) {
SDL_SW_DestroyYUVTexture(swdata);
return NULL;