Christian Knudsen | 1 Sep 2009 14:52
Favicon

Re: SDL_GetRGBA exits program.

Mason Wheeler <masonwheeler <at> yahoo.com> writes:

> Sort of.  You can't make assumptions like that.  But part of the problem is
> whoever made the header.  r, g, b, and a should be declared as "var byte,"
> not "PUint8".  Fix your header, adjust your code accordingly, and see if
> the problem doesn't go away.

I changed my code and the header. No change. And I'd honestly be surprised if
that header was wrong, as those FreePascal headers from the JEDI-SDL project
have been used for a couple of years and nobody has ever complained about them.

Gmane