mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
Currently, the graphics code does some color remapping on 8 bit-per-pixel textures since those textures use special 4-bit pixel values. These changes move that conversion out of the graphics code and into the image loading/font bitmap creation code. The reason this is needed is because this conversion breaks 8-bit textures that try to use the full range of colors. I need to do exactly that for moving the cutscene renderer to our generic rendering interface which I can't do at the moment since the existing color conversion corrupts the video data. I have tested this with retail data and could not find any visual changes after applying these changes.