Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.
This commit is contained in:
parent
f25403ba28
commit
6a2bff0cd1
3 changed files with 9 additions and 8 deletions
|
@ -54,7 +54,7 @@ typedef struct SDL_RWops
|
|||
* Seek to \c offset relative to \c whence, one of stdio's whence values:
|
||||
* RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
|
||||
*
|
||||
* \return the final offset in the data stream.
|
||||
* \return the final offset in the data stream, or -1 on error.
|
||||
*/
|
||||
Sint64 (SDLCALL * seek) (struct SDL_RWops * context, Sint64 offset,
|
||||
int whence);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue