Skip to content

Commit

Permalink
Little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BeWorld2018 committed Sep 16, 2024
1 parent 96697a4 commit 760fb5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sdl2-config
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ while test $# -gt 0; do
echo $exec_prefix
;;
--version)
echo 2.30.5
echo 2.30.7
;;
--cflags)
echo -noixemul -I${prefix}/include/SDL2
Expand Down
2 changes: 1 addition & 1 deletion src/core/morphos/SDL_mosversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#define xstr(s) str(s)
#define VERSION 53
#define REVISION 17
#define VERSTAG "\0$VER: sdl2.library " xstr(VERSION) "." xstr(REVISION) " (" __AMIGADATE__ ") © Bruno Peloille, Szil¡rd Biro, Ilkka Lehtoranta"
#define VERSTAG "\0$VER: sdl2.library " xstr(VERSION) "." xstr(REVISION) " (" __AMIGADATE__ ") © Bruno Peloille, Szilard Biro, Ilkka Lehtoranta"
2 changes: 1 addition & 1 deletion src/core/morphos/devenv/sdl-startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static CONSTRUCTOR_P(init_SDL2Base, 100)
SDL2Base = base;

#ifdef TGL_CONTEXT_VERSION_53_9
if (LIB_MINVER(base, 53, 15))
if (LIB_MINVER(base, 53, 17))
{
SDL_InitTGL2((void **) &__tglContext, (struct Library **) &TinyGLBase, TGLGetMaximumContextVersion);
}
Expand Down
6 changes: 1 addition & 5 deletions src/core/morphos/sdk/ppcinline/sdl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
(((void (*)(void *, void **, struct Library **))*(void**)((long)(SDL2_BASE_NAME) - 28))((void*)(SDL2_BASE_NAME), __p0, __p1))

#define SDL_InitTGL2(__p0, __p1, __p2) \
LP3NRFP(4818, SDL_InitTGL2, \
void **, __p0, base, \
struct Library **, __p1, sysr, \
__ft, __p2, , \
, SDL2_BASE_NAME, unsigned int (* __ft)(struct Library *TinyGLBase), 0, 0, 0, 0, 0, 0)
(((void (*)(void *, void **, struct Library **, unsigned int (*)(struct Library *TinyGLBase)))*(void**)((long)(SDL2_BASE_NAME) - 4816))((void*)(SDL2_BASE_NAME), __p0, __p1, __p2))

#define SDL_SetExitPointer(__p0) \
(((void (*)(void *, void (*)(int)))*(void**)((long)(SDL2_BASE_NAME) - 34))((void*)(SDL2_BASE_NAME), __p0))
Expand Down

0 comments on commit 760fb5b

Please sign in to comment.