[Ohrrpgce] SVN: teeemcee/8311 Change Surface Palettes from BGRA to RGBA to fix wrong conversion from R

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Jan 4 05:15:40 PST 2017


teeemcee
2017-01-04 05:15:40 -0800 (Wed, 04 Jan 2017)
397
Change Surface Palettes from BGRA to RGBA to fix wrong conversion from RGBcolor

The interpretation of the bytes was swapped when given to the Surface
rendering code and swapped again when displayed, hiding the problem on
the quad-render screen, but not in other cases.

Jay picked BGRA order because that's what DirectX uses (and apparently
most hardware too), but right now it's just a nuisance.
---
U   wip/allmodex.h
U   wip/gfx_newRenderPlan.h


More information about the Ohrrpgce mailing list