Commit 12f6de4f authored by Sam Lantinga's avatar Sam Lantinga

Allow SDL to be loaded by Matlab

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401021
parent 3fbec58e
...@@ -89,11 +89,6 @@ typedef struct SDL_PixelFormat { ...@@ -89,11 +89,6 @@ typedef struct SDL_PixelFormat {
Uint8 alpha; Uint8 alpha;
} SDL_PixelFormat; } 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', /* This structure should be treated as read-only, except for 'pixels',
which, if not NULL, contains the raw pixel data for the surface. which, if not NULL, contains the raw pixel data for the surface.
*/ */
...@@ -152,6 +147,10 @@ typedef struct SDL_Surface { ...@@ -152,6 +147,10 @@ typedef struct SDL_Surface {
(surface->offset || \ (surface->offset || \
((surface->flags & (SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_RLEACCEL)) != 0)) ((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 */ /* Useful for determining the video hardware capabilities */
typedef struct SDL_VideoInfo { typedef struct SDL_VideoInfo {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment