Skip to content

Commit 5c3a959

Browse files
FIX: SDL_IMAGE_VERSION_ATLEAST macro
1 parent 02908d9 commit 5c3a959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

units/SDL3_image.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function SDL_IMAGE_VERSION: Integer;
9898
{*
9999
* This macro will evaluate to true if compiled with SDL_image at least X.Y.Z.
100100
}
101-
function SDL_VERSION_ATLEAST(X, Y, Z: Integer): Boolean;
101+
function SDL_IMAGE_VERSION_ATLEAST(X, Y, Z: Integer): Boolean;
102102

103103
{*
104104
* This function gets the version of the dynamically linked SDL_image library.
@@ -2209,7 +2209,7 @@ function SDL_IMAGE_VERSION: Integer;
22092209
Result:=SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, SDL_IMAGE_MINOR_VERSION, SDL_IMAGE_MICRO_VERSION);
22102210
end;
22112211

2212-
function SDL_VERSION_ATLEAST(X, Y, Z: Integer): Boolean;
2212+
function SDL_IMAGE_VERSION_ATLEAST(X, Y, Z: Integer): Boolean;
22132213
begin
22142214
Result:=((SDL_IMAGE_MAJOR_VERSION >= X) and
22152215
((SDL_IMAGE_MAJOR_VERSION > X) or (SDL_IMAGE_MINOR_VERSION >= Y)) and

0 commit comments

Comments
 (0)