Quellcode durchsuchen

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot vor 3 Monaten
Ursprung
Commit
274bc95dfd
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      include/SDL3/SDL_render.h

+ 2 - 2
include/SDL3/SDL_render.h

@@ -1273,8 +1273,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_LockTexture(SDL_Texture *texture,
  *                `SDL_TEXTUREACCESS_STREAMING`.
  * \param rect a pointer to the rectangle to lock for access. If the rect is
  *             NULL, the entire texture will be locked.
- * \param surface this is filled in with an SDL surface representing the
- *                locked area.
+ * \param surface a pointer to an SDL surface of size **rect**. Don't assume
+ *                any specific pixel content.
  * \returns true on success or false on failure; call SDL_GetError() for more
  *          information.
  *