-
Notifications
You must be signed in to change notification settings - Fork 5
Add SDL3_image unit #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SDL3_image unit #18
Conversation
units/SDL3_image.pas
Outdated
| {$IFDEF DARWIN} | ||
| IMG_LibName = 'libSDL3_image.dylib'; | ||
| {$IFDEF FPC} | ||
| {$LINKLIB libSDL2} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libSDL3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You sure on this one? I mean, libSDL3 is the basic SDL3 library, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comment was about this bit here having 2 instead of 3. But yeah, this should be libSDL3_image. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was sure, I was missing something. :)
units/SDL3_image.pas
Outdated
| {* | ||
| * This macro will evaluate to true if compiled with SDL_image at least X.Y.Z. | ||
| } | ||
| function SDL_VERSION_ATLEAST(X, Y, Z: Integer): Boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SDL_IMAGE_VERSION_ATLEAST
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Adds