Commit 2862b1465dc43bca31e3158a119352d577b8bfce

Sam Lantinga 2017-08-12T13:05:26

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_render.h b/include/SDL_render.h
index 56341b4..ea6ef9f 100644
--- a/include/SDL_render.h
+++ b/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
  *          of range.
  *
+ *  \note The contents of the texture are not defined at creation.
+ *
  *  \sa SDL_QueryTexture()
  *  \sa SDL_UpdateTexture()
  *  \sa SDL_DestroyTexture()