From 50dcb698a4a35e197bc8a03eec67f6c2167b1fce Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 10 Apr 2013 15:49:41 -0400 Subject: [PATCH] A couple SDL20 passthrough function cleanups. --- src/SDL20_syms.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SDL20_syms.h b/src/SDL20_syms.h index e1aab0948..f633c8e53 100644 --- a/src/SDL20_syms.h +++ b/src/SDL20_syms.h @@ -24,7 +24,7 @@ SDL20_SYM(int,Init,(Uint32 a),(a),return) SDL20_SYM(int,InitSubSystem,(Uint32 a),(a),return) SDL20_SYM(char*,GetError,(void),(),return) -SDL20_SYM_PASSTHROUGH(void,SDL_Error,(SDL_errorcode a),(a),) +SDL20_SYM_PASSTHROUGH(void,Error,(SDL_errorcode a),(a),) /*SDL20_SYM_PASSTHROUGH(void,SetError,(const char *fmt, ...);*/ SDL20_SYM_PASSTHROUGH(void,ClearError,(void),(),) SDL20_SYM(void,Quit,(void),(),) @@ -40,11 +40,11 @@ SDL20_SYM(SDL_PixelFormat *,AllocFormat,(Uint32 a),(a),return) SDL20_SYM(void,FreeFormat,(SDL_PixelFormat *a),(a),) SDL20_SYM(SDL_Surface *,CreateRGBSurface,(Uint32 a, int b, int c, int d, Uint32 e, Uint32 f, Uint32 g, Uint32 h),(a,b,c,d,e,f,g,h),return) SDL20_SYM(SDL_Surface *,CreateRGBSurfaceFrom,(void *a, int b, int c, int d, int e, Uint32 f, Uint32 g, Uint32 h, Uint32 i),(a,b,c,d,e,f,g,h,i),return) -SDL20_SYM(void,SDL_FreeSurface,(SDL_Surface *a),(a),) +SDL20_SYM(void,FreeSurface,(SDL_Surface *a),(a),) SDL20_SYM(SDL_Surface*,LoadBMP_RW,(SDL_RWops *a, int b),(a,b),return) SDL20_SYM(int,SaveBMP_RW,(SDL_Surface *a, SDL_RWops *b, int c),(a,b,c),return) -SDL20_SYM_PASSTHROUGH(int,SDL_GL_LoadLibrary,(const char *a),(a),return) -SDL20_SYM_PASSTHROUGH(void *,SDL_GL_GetProcAddress,(const char *a),(a),return) +SDL20_SYM_PASSTHROUGH(int,GL_LoadLibrary,(const char *a),(a),return) +SDL20_SYM_PASSTHROUGH(void *,GL_GetProcAddress,(const char *a),(a),return) SDL20_SYM_PASSTHROUGH(int,ShowCursor,(int a),(a),return) SDL20_SYM_PASSTHROUGH(Uint32,GetThreadID,(SDL_Thread *a),(a),return) @@ -93,8 +93,8 @@ SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE,(void),(),return) SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE2,(void),(),return) SDL20_SYM_PASSTHROUGH(SDL_bool,HasAltiVec,(void),(),return) -SDL20_SYM(SDL_TimerID,SDL_AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return) -SDL20_SYM(SDL_bool,SDL_RemoveTimer,(SDL_TimerID a),(a),return) +SDL20_SYM(SDL_TimerID,AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return) +SDL20_SYM(SDL_bool,RemoveTimer,(SDL_TimerID a),(a),return) SDL20_SYM_PASSTHROUGH(Uint32,GetTicks,(void),(),return) SDL20_SYM_PASSTHROUGH(void,Delay,(Uint32 a),(a),)