Bladeren bron

remove stale / wrong information from SDL_RWread() documentation

Ozkan Sezer 1 jaar geleden
bovenliggende
commit
9e89f093d9
1 gewijzigde bestanden met toevoegingen van 0 en 4 verwijderingen
  1. 0 4
      include/SDL3/SDL_rwops.h

+ 0 - 4
include/SDL3/SDL_rwops.h

@@ -437,10 +437,6 @@ extern DECLSPEC Sint64 SDLCALL SDL_RWtell(SDL_RWops *context);
  * SDL_RWread() is actually a function wrapper that calls the SDL_RWops's
  * `read` method appropriately, to simplify application development.
  *
- * It is an error to specify a negative `size`, but this parameter is signed
- * so you definitely cannot overflow the return value on a successful run with
- * enormous amounts of data.
- *
  * \param context a pointer to an SDL_RWops structure
  * \param ptr a pointer to a buffer to read data into
  * \param size the number of bytes to read from the data source.