Mercurial > sdl-ios-xcode
diff include/SDL_video.h @ 1020:5b1cb1e9140d
Allow SDL to be loaded by Matlab
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Jan 2005 05:11:16 +0000 |
parents | 04a403e4ccf5 |
children | c9b51268668f |
line wrap: on
line diff
--- a/include/SDL_video.h Sun Jan 02 05:05:21 2005 +0000 +++ b/include/SDL_video.h Sun Jan 02 05:11:16 2005 +0000 @@ -89,11 +89,6 @@ Uint8 alpha; } SDL_PixelFormat; -/* typedef for private surface blitting functions */ -struct SDL_Surface; -typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, - struct SDL_Surface *dst, SDL_Rect *dstrect); - /* This structure should be treated as read-only, except for 'pixels', which, if not NULL, contains the raw pixel data for the surface. */ @@ -152,6 +147,10 @@ (surface->offset || \ ((surface->flags & (SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_RLEACCEL)) != 0)) +/* typedef for private surface blitting functions */ +typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, + struct SDL_Surface *dst, SDL_Rect *dstrect); + /* Useful for determining the video hardware capabilities */ typedef struct SDL_VideoInfo {