Clarified that the contents of new textures aren't defined.

This commit is contained in:
Sam Lantinga 2024-09-08 07:22:52 -07:00
parent ac0b1b207f
commit 7df1caba7c
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_GetCurrentRenderOutputSize(SDL_Renderer
/**
* Create a texture for a rendering context.
*
* The contents of a texture when first created are not defined.
*
* \param renderer the rendering context.
* \param format one of the enumerated values in SDL_PixelFormat.
* \param access one of the enumerated values in SDL_TextureAccess.