Closed icculus closed 2 years ago
This patch fixes tucnak again, and verified that Powder and Schismtracker (which both had 24-bit issues previously) are still working.
Has SDL-1.2 ever supported / reported 8 bits?
Yes, in late 90's there were desktop configurations that didn't have truecolor at all.
Then, should sdl12-compat report 8 bit too if it ever runs into it??
No, I don't think so at this point.
(I could have sworn SDL2 didn't even support 8-bit displays, but regardless of that) there isn't any direct pixel access in sdl12-compat, since it either goes in renderer texture or uses OpenGL, and both will convert to whatever display depth.
Plus we aren't going to bother with palettes if we really do ever see an 8-bit display.
Originally posted by @icculus in https://github.com/libsdl-org/sdl12-compat/issues/182#issuecomment-1251050983