From 7df1caba7cf5d7659f901614c8bd059d1fe84990 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 8 Sep 2024 07:22:52 -0700 Subject: [PATCH] Clarified that the contents of new textures aren't defined. --- include/SDL3/SDL_render.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index 66d943cb06..957c19ef60 100644 --- a/include/SDL3/SDL_render.h +++ b/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. * + * 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.