mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-11 09:01:40 +00:00
Renamed SDL_SIMDGetAlignment() to SDL_GetSIMDAlignment()
This commit is contained in:
parent
4609af618a
commit
02ff85f2f3
19 changed files with 41 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue