include/SDL_compat.h
changeset 5207 443a850284a1
parent 5169 ededa1ccf91c
child 5218 572a73d71b5f
equal deleted inserted replaced
5206:7d64745f1363 5207:443a850284a1
   328 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
   328 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
   329 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
   329 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
   330 
   330 
   331 typedef SDL_Window* SDL_WindowID;
   331 typedef SDL_Window* SDL_WindowID;
   332 
   332 
   333 #define SDL_RenderPoint SDL_RenderDrawPoint
       
   334 #define SDL_RenderLine SDL_RenderDrawLine
       
   335 #define SDL_RenderFill(X)  (X) ? SDL_RenderFillRect(X) : SDL_RenderClear()
       
   336 #define SDL_KillThread(X)
   333 #define SDL_KillThread(X)
   337 
   334 
   338 /* The timeslice and timer resolution are no longer relevant */
   335 /* The timeslice and timer resolution are no longer relevant */
   339 #define SDL_TIMESLICE		10
   336 #define SDL_TIMESLICE		10
   340 #define TIMER_RESOLUTION	10
   337 #define TIMER_RESOLUTION	10