mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	Document that new surfaces are initialized to zero.
Fixes https://github.com/libsdl-org/SDL/issues/10577
This commit is contained in:
		| @@ -125,6 +125,8 @@ typedef struct SDL_Surface | ||||
| /** | ||||
|  * Allocate a new surface with a specific pixel format. | ||||
|  * | ||||
|  * The pixels of the new surface are initialized to zero. | ||||
|  * | ||||
|  * \param width the width of the surface. | ||||
|  * \param height the height of the surface. | ||||
|  * \param format the SDL_PixelFormat for the new surface's pixel format. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sam Lantinga
					Sam Lantinga