mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-07 18:36:26 +00:00
Rename surface aligned memory flag to SDL_SIMD_ALIGNED
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user