mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
Added a helper function SDL_LockTextureToSurface()
Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
This commit is contained in:
parent
f46ac1e9f7
commit
1ae61f1009
6 changed files with 77 additions and 0 deletions
|
@ -315,6 +315,7 @@
|
|||
#define SDL_UpdateTexture SDL_UpdateTexture_REAL
|
||||
#define SDL_UpdateYUVTexture SDL_UpdateYUVTexture_REAL
|
||||
#define SDL_LockTexture SDL_LockTexture_REAL
|
||||
#define SDL_LockTextureToSurface SDL_LockTextureToSurface_REAL
|
||||
#define SDL_UnlockTexture SDL_UnlockTexture_REAL
|
||||
#define SDL_RenderTargetSupported SDL_RenderTargetSupported_REAL
|
||||
#define SDL_SetRenderTarget SDL_SetRenderTarget_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue