Skip to content

Conversation

@Free-Pascal-meets-SDL-Website
Copy link
Contributor

Adds

  • SDL3_image.pas
  • version 3.2.0

{$IFDEF DARWIN}
IMG_LibName = 'libSDL3_image.dylib';
{$IFDEF FPC}
{$LINKLIB libSDL2}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libSDL3

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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. :)

{*
* 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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDL_IMAGE_VERSION_ATLEAST

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@Free-Pascal-meets-SDL-Website Free-Pascal-meets-SDL-Website merged commit d8f7f2d into PascalGameDevelopment:main Feb 18, 2025
@Free-Pascal-meets-SDL-Website Free-Pascal-meets-SDL-Website deleted the add-sdl3-image branch February 18, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants