SDL on Solaris

[on 5.5.1 etc]

I did the original port to 2.5.1, and I did notice some differences
when I went to 2.6 – the lack of requiring -lpthread, for one.
But… if you don’t include -lpthread, it will link, but creating
threads will fail. Heh.

OK. Getting SDL to run under Solaris really isn’t a priority for me
right now, I was just getting bored yesterday and thought I’d give
it a shot.

[on rectangles]

This should only be necessary if clipping is done or the rectangles
fall outside the source or destination surfaces. NOTE however, that
you MUST pass the returned (modified) rectangles to SDL_UpdateRects(),
otherwise you may get a blit that was clipped and then an update that
is not. Doh!

Aha. I generally use UpdateRect(0, 0, 0, 0) to get a full-screen up-
date after I’ve done all my blitting… Typically, I redraw the
entire screen every frame, so I suppose redrawing by rectangles
could actually cost me performance. I haven’t tried it, and I haven’t
checked the code, though…

[colorkeying #1]

That should work.

I thought so too. :slight_smile: I’ll give it another shot when I get home
tonight.

[colorkeying #2]

Bad, bad. Please send me the code in a private e-mail, and I’ll take
a look. This shouldn’t happen.

OK. I don’t have the code here (at school), but I can send it to you
later tonight (local time, of course :).

Are you using this under X11? What bit-depth are you running?

Yeah, it’s X11 using 8 bpp.

/EmilOn Fri, 17 Apr 1998, Sam Lantinga wrote:

[UpdateRect() vs UpdateRects()]

Calling UpdateRect(0,0,0,0); once should be fine.

I’ll just keep doing that, then. It has worked fine so far.

OK. I don’t have the code here (at school), but I can send it to you
later tonight (local time, of course :).

I’m going to bed (1:20 AM, localtime)

Doh. But odds are that you’ll be up before it’s time for me to go to
bed. Time here is 11:07 AM, but it’s Friday, so I’ll be up for at
least 12-14 hours more… I should be able to post that code to you
in perhaps 7-8 hours.

/EmilOn Fri, 17 Apr 1998, Sam Lantinga wrote: