voila je load un gif dans un SDL_surface
et j´ai lu ceci:
/*----------------------------------*/
Structure Definition
typedef struct SDL_Surface {
Uint32 flags; /* Read-only */
SDL_PixelFormat *format;/* Read-only */
int w, h; /* Read-only */
Uint16 pitch; /* Read-only */
void *pixels; /* Read-write */
/* clipping information */
SDL_Rect clip_rect; /* Read-only */
/*Reference count--used when freeing surface*/
int refcount; /* Read-mostly */
/*This structure also contains private fields not shown here */
} SDL_Surface;
/*--------------------------------------*/
et pour recupere le height ou le weight de ma surface je fais image.h et la c´est le drame ca veut pas (il me dis ""h has not be declared"")
puis je avoir de l´aide???