Skip to content

Commit

Permalink
Sync SDL3_image wiki -> header
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Apr 9, 2024
1 parent 719fcd3 commit a45d6e5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/SDL3_image/SDL_image.h
Expand Up @@ -56,21 +56,22 @@ extern "C" {
}

#if SDL_IMAGE_MAJOR_VERSION < 3 && SDL_MAJOR_VERSION < 3

/**
* This is the version number macro for the current SDL_image version.
* This is the version number macro for the current SDL_image version.
*
* In versions higher than 2.9.0, the minor version overflows into
* the thousands digit: for example, 2.23.0 is encoded as 4300.
* This macro will not be available in SDL 3.x or SDL_image 3.x.
* In versions higher than 2.9.0, the minor version overflows into the
* thousands digit: for example, 2.23.0 is encoded as 4300. This macro will
* not be available in SDL 3.x or SDL_image 3.x.
*
* Deprecated, use SDL_IMAGE_VERSION_ATLEAST or SDL_IMAGE_VERSION instead.
* Deprecated, use SDL_IMAGE_VERSION_ATLEAST or SDL_IMAGE_VERSION instead.
*/
#define SDL_IMAGE_COMPILEDVERSION \
SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, SDL_IMAGE_MINOR_VERSION, SDL_IMAGE_PATCHLEVEL)
#endif /* SDL_IMAGE_MAJOR_VERSION < 3 && SDL_MAJOR_VERSION < 3 */

/**
* This macro will evaluate to true if compiled with SDL_image at least X.Y.Z.
* This macro will evaluate to true if compiled with SDL_image at least X.Y.Z.
*/
#define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \
((SDL_IMAGE_MAJOR_VERSION >= X) && \
Expand Down Expand Up @@ -2082,8 +2083,7 @@ extern DECLSPEC int SDLCALL IMG_SaveJPG(SDL_Surface *surface, const char *file,
extern DECLSPEC int SDLCALL IMG_SaveJPG_IO(SDL_Surface *surface, SDL_IOStream *dst, int closeio, int quality);

/**
* Animated image support
* Currently only animated GIFs are supported.
* Animated image support Currently only animated GIFs are supported.
*/
typedef struct IMG_Animation
{
Expand Down

0 comments on commit a45d6e5

Please sign in to comment.