SDL/src/video/haiku
UnknownShadow200 5ea9886bcf haiku: Fix when screen color depth was 24 bits, SDL_GetWindowSurface would always fail with 'Unknown pixel format' error
Note that returning SDL_PIXELFORMAT_BGR24 instead of SDL_PIXELFORMAT_RGB24 seems necessary, otherwise when running with SDL_ACCELERATION=0, the red and blue channels of the window appeared swapped.
Note that when running with acceleration enabled, red and blue channel swapping does not happen regardless of whether SDL_PIXEL_FORMAT_RGB24 or SDL_PIXEL_FORMAT_BGR24 is returned.

For good measure, I also tested running with acceleration disabled in both 15 and 16 bit color depths, but red and blue channel swapping did not occur
2022-09-23 02:51:00 -07:00
..
SDL_BApp.h haiku: updated for Haiku 2022-01-12 09:32:56 -08:00
SDL_BWin.h haiku: Actually remove BDirectWindow and fix OpenGL handling. 2022-02-06 19:19:21 -05:00
SDL_bclipboard.cc Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bclipboard.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bevents.cc Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bevents.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bframebuffer.cc haiku: Combine HAIKU_ColorSpaceToBitsPerPixel and HAIKU_BPPToSDLPxFormat 2022-09-17 18:13:08 -04:00
SDL_bframebuffer.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bkeyboard.cc Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bkeyboard.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmessagebox.cc Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmessagebox.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmodes.cc haiku: Fix when screen color depth was 24 bits, SDL_GetWindowSurface would always fail with 'Unknown pixel format' error 2022-09-23 02:51:00 -07:00
SDL_bmodes.h haiku: Combine HAIKU_ColorSpaceToBitsPerPixel and HAIKU_BPPToSDLPxFormat 2022-09-17 18:13:08 -04:00
SDL_bopengl.cc haiku: updated for Haiku 2022-01-12 09:32:56 -08:00
SDL_bopengl.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bvideo.cc video: removed unused devindex argument from bootstrap's create method. 2022-07-26 00:19:52 -04:00
SDL_bvideo.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bwindow.cc video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
SDL_bwindow.h haiku: updated for Haiku 2022-01-12 09:32:56 -08:00