surface: Fixed a typo in a comment.

This commit is contained in:
Ryan C. Gordon 2023-12-15 10:57:54 -05:00
parent cb10c80aaf
commit 8e1758260c
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ SDL_Surface *SDL_CreateSurface(int width, int height, Uint32 format)
}
/*
* Create an RGB surface from an existing memory buffer using the given given
* Create an RGB surface from an existing memory buffer using the given
* enum SDL_PIXELFORMAT_* format
*/
SDL_Surface *SDL_CreateSurfaceFrom(void *pixels, int width, int height, int pitch, Uint32 format)