include/SDL_video.h
changeset 1020 5b1cb1e9140d
parent 911 04a403e4ccf5
child 1312 c9b51268668f
     1.1 --- a/include/SDL_video.h	Sun Jan 02 05:05:21 2005 +0000
     1.2 +++ b/include/SDL_video.h	Sun Jan 02 05:11:16 2005 +0000
     1.3 @@ -89,11 +89,6 @@
     1.4  	Uint8  alpha;
     1.5  } SDL_PixelFormat;
     1.6  
     1.7 -/* typedef for private surface blitting functions */
     1.8 -struct SDL_Surface;
     1.9 -typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect,
    1.10 -			struct SDL_Surface *dst, SDL_Rect *dstrect);
    1.11 -
    1.12  /* This structure should be treated as read-only, except for 'pixels',
    1.13     which, if not NULL, contains the raw pixel data for the surface.
    1.14  */
    1.15 @@ -152,6 +147,10 @@
    1.16    (surface->offset ||		\
    1.17    ((surface->flags & (SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_RLEACCEL)) != 0))
    1.18  
    1.19 +/* typedef for private surface blitting functions */
    1.20 +typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect,
    1.21 +			struct SDL_Surface *dst, SDL_Rect *dstrect);
    1.22 +
    1.23  
    1.24  /* Useful for determining the video hardware capabilities */
    1.25  typedef struct SDL_VideoInfo {