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

This commit is contained in:
Sam Lantinga committed 2024-09-08 07:23:17 -07:00
1 parent ac0b1b207f
commit 7df1caba7c
1 file changed
+2
+2
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.