Skip to content

Commit

Permalink
Allow SDL to be loaded by Matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 2, 2005
1 parent 3b186dc commit 29b2f98
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions include/SDL_video.h
Expand Up @@ -89,11 +89,6 @@ typedef struct SDL_PixelFormat {
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.
*/
Expand Down Expand Up @@ -152,6 +147,10 @@ typedef struct SDL_Surface {
(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 {
Expand Down

0 comments on commit 29b2f98

Please sign in to comment.