diff options
author | Brian Paul <[email protected]> | 2014-03-06 10:56:27 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-06 18:17:14 -0700 |
commit | 0f0c16b238886f5bf08991109e88eb7bd507e1e6 (patch) | |
tree | bb83a56637221e62b89314d27881b8d5d0ec0d29 /src/mesa/main/formats.h | |
parent | 8d3f739383fbdf671752fdec707f1c2b9b2aa6a3 (diff) |
mesa: add MESA_FORMAT_R8G8B8A8_SRGB
To match PIPE_FORMAT_R8G8B8A8_SRGB.
v2: fix component name copy&paste bugs
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 07b84d6fa42..a12fe4f087a 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -419,6 +419,7 @@ typedef enum /* Type P formats */ MESA_FORMAT_A8B8G8R8_SRGB, /* RRRR RRRR GGGG GGGG BBBB BBBB AAAA AAAA */ MESA_FORMAT_B8G8R8A8_SRGB, /* AAAA AAAA RRRR RRRR GGGG GGGG BBBB BBBB */ + MESA_FORMAT_R8G8B8A8_SRGB, /* AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR */ /* Type A format(s) */ MESA_FORMAT_L_SRGB8, /* uchar[i] = L */ |