mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 04:38:30 +00:00
Added SDL_RenderGetD3D11Device() to get access to the device associated with the D3D11 renderer
This commit is contained in:
parent
5f0b2a7f54
commit
223af86c62
4 changed files with 42 additions and 1 deletions
|
@ -854,3 +854,6 @@ SDL_DYNAPI_PROC(float,SDL_roundf,(float a),(a),return)
|
|||
SDL_DYNAPI_PROC(long,SDL_lround,(double a),(a),return)
|
||||
SDL_DYNAPI_PROC(long,SDL_lroundf,(float a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_SoftStretchLinear,(SDL_Surface *a, const SDL_Rect *b, SDL_Surface *c, const SDL_Rect *d),(a,b,c,d),return)
|
||||
#ifdef __WIN32__
|
||||
SDL_DYNAPI_PROC(ID3D11Device*,SDL_RenderGetD3D11Device,(SDL_Renderer *a),(a),return)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue