1 Sep 2009 14:52
Re: SDL_GetRGBA exits program.
Christian Knudsen <webmaster <at> asciisector.net>
2009-09-01 12:52:53 GMT
2009-09-01 12:52:53 GMT
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.
RSS Feed