Procházet zdrojové kódy

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

Sam Lantinga před 2 roky
rodič
revize
7df1caba7c
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      include/SDL3/SDL_render.h

+ 2 - 0
include/SDL3/SDL_render.h

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