From 9e89f093d979444ed194073ee61e896767fe9190 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 8 Mar 2024 18:55:19 +0300
Subject: [PATCH] remove stale / wrong information from SDL_RWread()
documentation
---
include/SDL3/SDL_rwops.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/SDL3/SDL_rwops.h b/include/SDL3/SDL_rwops.h
index 169c91bb9467d..37a1b806d82b1 100644
--- a/include/SDL3/SDL_rwops.h
+++ b/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.