[D3D12] Swap red and blue in 8bpp gamma ramp

This commit is contained in:
Triang3l
2018-12-09 15:53:57 +03:00
parent 1ee3ed03fd
commit 7698944673
2 changed files with 12 additions and 4 deletions

View File

@@ -68,9 +68,9 @@ struct GammaRamp {
struct NormalEntry {
union {
struct {
uint32_t r : 10;
uint32_t g : 10;
uint32_t b : 10;
uint32_t g : 10;
uint32_t r : 10;
uint32_t : 2;
};
uint32_t value;