Rename surface aligned memory flag to SDL_SIMD_ALIGNED
This commit is contained in:
parent
fbabf9bb94
commit
ad63886d12
2 changed files with 2 additions and 2 deletions
|
@ -1261,7 +1261,7 @@ SDL_FreeSurface(SDL_Surface * surface)
|
|||
}
|
||||
if (surface->flags & SDL_PREALLOC) {
|
||||
/* Don't free */
|
||||
} else if (surface->flags & SDL_MEMALIGNED) {
|
||||
} else if (surface->flags & SDL_SIMD_ALIGNED) {
|
||||
/* Free aligned */
|
||||
SDL_SIMDFree(surface->pixels);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue