Alan Williams

Results 17 comments of Alan Williams

These bugs are not OS X specific. They also happen on Linux. Disabling the alpha channel on the display surface (e73f5a103f35f407dc7bc538131a44c41933b888) fixes the `testalpha` bug. The `testbitmap` bug is a...

It looks like OpenDOW doesn't look at the actual pixel format of the SDL display surface, so you could end up having a similar issue on SDL 1.2 depending on...

You can find what you need in the [documentation for `SDL_Surface`](https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlsurface.html). If you don't need to convert that many colors, you could use [`SDL_MapRGB()`](https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlmaprgb.html) or [`SDL_MapRGBA()`](https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlmaprgba.html).

I implemented `SDL_SetEventFilter()` with the event queue, so it should work now.

Huh. I just checked and the real SDL 1.2 library doesn't link directly to X11. I suppose that's the big ABI difference between 1.1 and 1.2. Adding -lX11 and -lXext...

That's odd. `XSetErrorHandler` is provided by libX11 so I don't see why this would fail. I checked the library with `readelf -d` and indeed adding `-lX11 -lXext` to LDFLAGS added...

Thanks. Looks good, but I'd prefer to have the stuff common between both platforms (such as the source code list and the (`un`)`redir.h` rules) put in a common Makefile that...