1
0
Эх сурвалжийг харах

Note that texture contents are undefined when the texture is created.

Sam Lantinga 8 жил өмнө
parent
commit
2862b1465d

+ 2 - 0
include/SDL_render.h

@@ -233,6 +233,8 @@ extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer,
  *          active,  the format was unsupported, or the width or height were out
  *          active,  the format was unsupported, or the width or height were out
  *          of range.
  *          of range.
  *
  *
+ *  \note The contents of the texture are not defined at creation.
+ *
  *  \sa SDL_QueryTexture()
  *  \sa SDL_QueryTexture()
  *  \sa SDL_UpdateTexture()
  *  \sa SDL_UpdateTexture()
  *  \sa SDL_DestroyTexture()
  *  \sa SDL_DestroyTexture()