surface: SDL_blit is not used in the public API, remove it from headers.
This commit is contained in:
@@ -135,12 +135,6 @@ typedef struct SDL_Surface
|
|||||||
int refcount; /**< Read-mostly */
|
int refcount; /**< Read-mostly */
|
||||||
} SDL_Surface;
|
} SDL_Surface;
|
||||||
|
|
||||||
/**
|
|
||||||
* The type of function used for surface blitting functions.
|
|
||||||
*/
|
|
||||||
typedef int (SDLCALL *SDL_blit) (struct SDL_Surface *src, const SDL_Rect *srcrect,
|
|
||||||
struct SDL_Surface *dst, const SDL_Rect *dstrect);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocate a new RGB surface with a specific pixel format.
|
* Allocate a new RGB surface with a specific pixel format.
|
||||||
|
|||||||
@@ -86,13 +86,15 @@ typedef struct
|
|||||||
SDL_BlitFunc func;
|
SDL_BlitFunc func;
|
||||||
} SDL_BlitFuncEntry;
|
} SDL_BlitFuncEntry;
|
||||||
|
|
||||||
|
typedef int (SDLCALL *SDL_Blit) (struct SDL_Surface *src, const SDL_Rect *srcrect, struct SDL_Surface *dst, const SDL_Rect *dstrect);
|
||||||
|
|
||||||
/* Blit mapping definition */
|
/* Blit mapping definition */
|
||||||
/* typedef'ed in SDL_surface.h */
|
/* typedef'ed in SDL_surface.h */
|
||||||
struct SDL_BlitMap
|
struct SDL_BlitMap
|
||||||
{
|
{
|
||||||
SDL_Surface *dst;
|
SDL_Surface *dst;
|
||||||
int identity;
|
int identity;
|
||||||
SDL_blit blit;
|
SDL_Blit blit;
|
||||||
void *data;
|
void *data;
|
||||||
SDL_BlitInfo info;
|
SDL_BlitInfo info;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user