mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-26 14:58:38 +00:00
Support loading JPEG images through SDL_LoadSurface()
This commit is contained in:
committed by
Sam Lantinga
parent
9672f5b68b
commit
c6b232f5d4
@@ -1285,3 +1285,5 @@ _SDL_SetGPURenderStateStorageBuffers
|
||||
_SDL_GDKSuspendRenderer
|
||||
_SDL_GDKResumeRenderer
|
||||
_SDL_IsPhone
|
||||
_SDL_LoadJPG_IO
|
||||
_SDL_LoadJPG
|
||||
|
||||
@@ -1286,6 +1286,8 @@ SDL3_0.0.0 {
|
||||
SDL_GDKSuspendRenderer;
|
||||
SDL_GDKResumeRenderer;
|
||||
SDL_IsPhone;
|
||||
SDL_LoadJPG_IO;
|
||||
SDL_LoadJPG;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
||||
@@ -1312,3 +1312,5 @@
|
||||
#define SDL_GDKSuspendRenderer SDL_GDKSuspendRenderer_REAL
|
||||
#define SDL_GDKResumeRenderer SDL_GDKResumeRenderer_REAL
|
||||
#define SDL_IsPhone SDL_IsPhone_REAL
|
||||
#define SDL_LoadJPG_IO SDL_LoadJPG_IO_REAL
|
||||
#define SDL_LoadJPG SDL_LoadJPG_REAL
|
||||
|
||||
@@ -1320,3 +1320,5 @@ SDL_DYNAPI_PROC(bool,SDL_SetGPURenderStateStorageBuffers,(SDL_GPURenderState *a,
|
||||
SDL_DYNAPI_PROC(void,SDL_GDKSuspendRenderer,(SDL_Renderer *a),(a),)
|
||||
SDL_DYNAPI_PROC(void,SDL_GDKResumeRenderer,(SDL_Renderer *a),(a),)
|
||||
SDL_DYNAPI_PROC(bool,SDL_IsPhone,(void),(),return)
|
||||
SDL_DYNAPI_PROC(SDL_Surface*,SDL_LoadJPG_IO,(SDL_IOStream *a,bool b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(SDL_Surface*,SDL_LoadJPG,(const char *a),(a),return)
|
||||
|
||||
Reference in New Issue
Block a user