mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
SDL_UnlockTexture: change from 'int' to 'void'
This commit is contained in:
parent
cee245b6a9
commit
dc74a67a57
3 changed files with 5 additions and 9 deletions
|
@ -783,14 +783,11 @@ extern DECLSPEC int SDLCALL SDL_LockTextureToSurface(SDL_Texture *texture,
|
|||
*
|
||||
* \param texture a texture locked by SDL_LockTexture()
|
||||
*
|
||||
* \returns 0 on success or a negative error code on failure; call
|
||||
* SDL_GetError() for more information.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_LockTexture
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_UnlockTexture(SDL_Texture *texture);
|
||||
extern DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture *texture);
|
||||
|
||||
/**
|
||||
* Set a texture as the current rendering target.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue