mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
SDL_RendererFlip rename fixes
This commit is contained in:
parent
d760f16ba6
commit
56e6f05440
@ -3125,6 +3125,11 @@ typedef SDL_eventaction, SDL_EventAction;
|
||||
- SDL_eventaction
|
||||
+ SDL_EventAction
|
||||
@@
|
||||
typedef SDL_RendererFlip, SDL_FlipMode;
|
||||
@@
|
||||
- SDL_RendererFlip
|
||||
+ SDL_FlipMode
|
||||
@@
|
||||
typedef SDL_Colour, SDL_Color;
|
||||
@@
|
||||
- SDL_Colour
|
||||
|
@ -1132,8 +1132,10 @@ The following functions have been removed:
|
||||
* SDL_RenderTargetSupported() - render targets are always supported
|
||||
* SDL_SetTextureUserData() - use SDL_GetTextureProperties() instead
|
||||
|
||||
The following enums have been renamed:
|
||||
* SDL_RendererFlip => SDL_FlipMode - moved to SDL_surface.h
|
||||
|
||||
The following symbols have been renamed:
|
||||
* SDL_RendererFlip => SDL_FlipMode
|
||||
* SDL_ScaleModeBest => SDL_SCALEMODE_BEST
|
||||
* SDL_ScaleModeLinear => SDL_SCALEMODE_LINEAR
|
||||
* SDL_ScaleModeNearest => SDL_SCALEMODE_NEAREST
|
||||
|
@ -433,6 +433,7 @@
|
||||
#define SDL_RenderDrawRectsF SDL_RenderRects
|
||||
#define SDL_RenderFillRectF SDL_RenderFillRect
|
||||
#define SDL_RenderFillRectsF SDL_RenderFillRects
|
||||
#define SDL_RendererFlip SDL_FlipMode
|
||||
#define SDL_RenderFlush SDL_FlushRenderer
|
||||
#define SDL_RenderGetClipRect SDL_GetRenderClipRect
|
||||
#define SDL_RenderGetLogicalSize SDL_GetRenderLogicalPresentation
|
||||
@ -940,6 +941,7 @@
|
||||
#define SDL_RenderDrawRectsF SDL_RenderDrawRectsF_renamed_SDL_RenderRects
|
||||
#define SDL_RenderFillRectF SDL_RenderFillRectF_renamed_SDL_RenderFillRect
|
||||
#define SDL_RenderFillRectsF SDL_RenderFillRectsF_renamed_SDL_RenderFillRects
|
||||
#define SDL_RendererFlip SDL_RendererFlip_renamed_SDL_FlipMode
|
||||
#define SDL_RenderFlush SDL_RenderFlush_renamed_SDL_FlushRenderer
|
||||
#define SDL_RenderGetClipRect SDL_RenderGetClipRect_renamed_SDL_GetRenderClipRect
|
||||
#define SDL_RenderGetLogicalSize SDL_RenderGetLogicalSize_renamed_SDL_GetRenderLogicalPresentation
|
||||
|
Loading…
Reference in New Issue
Block a user