mirror of https://github.com/libsdl-org/SDL
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
|
||||||
+ SDL_EventAction
|
+ SDL_EventAction
|
||||||
@@
|
@@
|
||||||
|
typedef SDL_RendererFlip, SDL_FlipMode;
|
||||||
|
@@
|
||||||
|
- SDL_RendererFlip
|
||||||
|
+ SDL_FlipMode
|
||||||
|
@@
|
||||||
typedef SDL_Colour, SDL_Color;
|
typedef SDL_Colour, SDL_Color;
|
||||||
@@
|
@@
|
||||||
- SDL_Colour
|
- SDL_Colour
|
||||||
|
|
|
@ -1132,8 +1132,10 @@ The following functions have been removed:
|
||||||
* SDL_RenderTargetSupported() - render targets are always supported
|
* SDL_RenderTargetSupported() - render targets are always supported
|
||||||
* SDL_SetTextureUserData() - use SDL_GetTextureProperties() instead
|
* 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:
|
The following symbols have been renamed:
|
||||||
* SDL_RendererFlip => SDL_FlipMode
|
|
||||||
* SDL_ScaleModeBest => SDL_SCALEMODE_BEST
|
* SDL_ScaleModeBest => SDL_SCALEMODE_BEST
|
||||||
* SDL_ScaleModeLinear => SDL_SCALEMODE_LINEAR
|
* SDL_ScaleModeLinear => SDL_SCALEMODE_LINEAR
|
||||||
* SDL_ScaleModeNearest => SDL_SCALEMODE_NEAREST
|
* SDL_ScaleModeNearest => SDL_SCALEMODE_NEAREST
|
||||||
|
|
|
@ -433,6 +433,7 @@
|
||||||
#define SDL_RenderDrawRectsF SDL_RenderRects
|
#define SDL_RenderDrawRectsF SDL_RenderRects
|
||||||
#define SDL_RenderFillRectF SDL_RenderFillRect
|
#define SDL_RenderFillRectF SDL_RenderFillRect
|
||||||
#define SDL_RenderFillRectsF SDL_RenderFillRects
|
#define SDL_RenderFillRectsF SDL_RenderFillRects
|
||||||
|
#define SDL_RendererFlip SDL_FlipMode
|
||||||
#define SDL_RenderFlush SDL_FlushRenderer
|
#define SDL_RenderFlush SDL_FlushRenderer
|
||||||
#define SDL_RenderGetClipRect SDL_GetRenderClipRect
|
#define SDL_RenderGetClipRect SDL_GetRenderClipRect
|
||||||
#define SDL_RenderGetLogicalSize SDL_GetRenderLogicalPresentation
|
#define SDL_RenderGetLogicalSize SDL_GetRenderLogicalPresentation
|
||||||
|
@ -940,6 +941,7 @@
|
||||||
#define SDL_RenderDrawRectsF SDL_RenderDrawRectsF_renamed_SDL_RenderRects
|
#define SDL_RenderDrawRectsF SDL_RenderDrawRectsF_renamed_SDL_RenderRects
|
||||||
#define SDL_RenderFillRectF SDL_RenderFillRectF_renamed_SDL_RenderFillRect
|
#define SDL_RenderFillRectF SDL_RenderFillRectF_renamed_SDL_RenderFillRect
|
||||||
#define SDL_RenderFillRectsF SDL_RenderFillRectsF_renamed_SDL_RenderFillRects
|
#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_RenderFlush SDL_RenderFlush_renamed_SDL_FlushRenderer
|
||||||
#define SDL_RenderGetClipRect SDL_RenderGetClipRect_renamed_SDL_GetRenderClipRect
|
#define SDL_RenderGetClipRect SDL_RenderGetClipRect_renamed_SDL_GetRenderClipRect
|
||||||
#define SDL_RenderGetLogicalSize SDL_RenderGetLogicalSize_renamed_SDL_GetRenderLogicalPresentation
|
#define SDL_RenderGetLogicalSize SDL_RenderGetLogicalSize_renamed_SDL_GetRenderLogicalPresentation
|
||||||
|
|
Loading…
Reference in New Issue