Hello, I'm a little bit confused. The code of AG_SurfaceFromSDL needs a pointer to a AG_Surface and not to a SDL_Surface:
AG_Surface * AG_SurfaceFromSDL(AG_Surface *su)
{
return AG_DupSurface(su);
}
The documented prototype is: AG_Surface * AG_SurfaceFromSDL(SDL_Surface *su);
What's wrong ??
Best Regards
--Armin
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html
