mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 22:59:49 +00:00
SDL API renaming: SDL_render.h
Fixes https://github.com/libsdl-org/SDL/issues/6883
This commit is contained in:
@@ -341,6 +341,10 @@
|
||||
#define SDL_UpperBlit SDL_BlitSurface
|
||||
#define SDL_UpperBlitScaled SDL_BlitSurfaceScaled
|
||||
|
||||
/* ##SDL_system.h */
|
||||
#define SDL_RenderGetD3D11Device SDL_GetRenderD3D11Device
|
||||
#define SDL_RenderGetD3D9Device SDL_GetRenderD3D9Device
|
||||
|
||||
/* ##SDL_video.h */
|
||||
#define SDL_GetPointDisplayIndex SDL_GetDisplayIndexForPoint
|
||||
#define SDL_GetRectDisplayIndex SDL_GetDisplayIndexForRect
|
||||
@@ -656,6 +660,10 @@
|
||||
#define SDL_UpperBlit SDL_UpperBlit_renamed_SDL_BlitSurface
|
||||
#define SDL_UpperBlitScaled SDL_UpperBlitScaled_renamed_SDL_BlitSurfaceScaled
|
||||
|
||||
/* ##SDL_system.h */
|
||||
#define SDL_RenderGetD3D11Device SDL_RenderGetD3D11Device_renamed_SDL_GetRenderD3D11Device
|
||||
#define SDL_RenderGetD3D9Device SDL_RenderGetD3D9Device_renamed_SDL_GetRenderD3D9Device
|
||||
|
||||
/* ##SDL_video.h */
|
||||
#define SDL_GetPointDisplayIndex SDL_GetPointDisplayIndex_renamed_SDL_GetDisplayIndexForPoint
|
||||
#define SDL_GetRectDisplayIndex SDL_GetRectDisplayIndex_renamed_SDL_GetDisplayIndexForRect
|
||||
|
||||
@@ -88,7 +88,7 @@ typedef struct IDirect3DDevice9 IDirect3DDevice9;
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*/
|
||||
extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
|
||||
extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_GetRenderD3D9Device(SDL_Renderer * renderer);
|
||||
|
||||
typedef struct ID3D11Device ID3D11Device;
|
||||
|
||||
@@ -104,7 +104,7 @@ typedef struct ID3D11Device ID3D11Device;
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*/
|
||||
extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * renderer);
|
||||
extern DECLSPEC ID3D11Device* SDLCALL SDL_GetRenderD3D11Device(SDL_Renderer * renderer);
|
||||
|
||||
#endif /* defined(__WIN32__) || defined(__WINGDK__) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user