We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41c5486 commit eef8cb0Copy full SHA for eef8cb0
units/sdlrenderer.inc
@@ -77,13 +77,18 @@ const
77
SDL_TEXTUREMODULATE_COLOR = TSDL_TextureModulate(1); {**< srcC = srcC * color *}
78
SDL_TEXTUREMODULATE_ALPHA = TSDL_TextureModulate(2); {**< srcA = srcA * alpha *}
79
80
+type
81
{**
82
* Flip constants for SDL_RenderCopyEx
83
*}
84
+ PPSDL_Flip = ^PSDL_Flip;
85
+ PSDL_Flip = ^TSDL_Flip;
86
+ TSDL_Flip = type cint;
87
+
88
const
- SDL_FLIP_NONE = $0; {**< Do not flip *}
- SDL_FLIP_HORIZONTAL = $1; {**< flip horizontally *}
- SDL_FLIP_VERTICAL = $2; {**< flip vertically *}
89
+ SDL_FLIP_NONE = TSDL_Flip($0); {**< Do not flip *}
90
+ SDL_FLIP_HORIZONTAL = TSDL_Flip($1); {**< flip horizontally *}
91
+ SDL_FLIP_VERTICAL = TSDL_Flip($2); {**< flip vertically *}
92
93
type
94
0 commit comments