surface: Fixed a typo in a comment.

This commit is contained in:
Ryan C. Gordon committed 2024-02-20 15:56:26 -05:00
1 parent cb10c80aaf
commit 8e1758260c
1 file changed
+1 -1
+1 -1
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)