diff options
author | Brian Paul <[email protected]> | 2010-05-09 19:28:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-09 21:19:42 -0600 |
commit | 17e96718946486ef77927fcf3bb299d8bff32b98 (patch) | |
tree | a906df83adb97e08089023a1c48c36fa81c817bc /src/mesa/main/formats.c | |
parent | 7a57af6d11a8fae9838a0d2e42eac6200b8f027e (diff) |
mesa: added unsigned 16-bit/channel tex format
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r-- | src/mesa/main/formats.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 7f57fc05d59..3671140e859 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -721,6 +721,15 @@ static struct gl_format_info format_info[MESA_FORMAT_COUNT] = 16, 16, 16, 16, 0, 0, 0, 0, 0, 1, 1, 8 + }, + { + MESA_FORMAT_RGBA_16, + "MESA_FORMAT_RGBA_16", + GL_RGBA, + GL_UNSIGNED_NORMALIZED, + 16, 16, 16, 16, + 0, 0, 0, 0, 0, + 1, 1, 8 } }; |