diff options
author | Dave Airlie <airlied@gmail.com> | 2011-01-13 12:12:21 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-16 12:54:06 +1000 |
commit | edc2dd8e4788e556d445c9f59974ed95b33c2bbc (patch) | |
tree | 414f98866a8197661563ec673806ead56de3afc7 /src/mesa/main/formats.h | |
parent | ac6334145ec8eef42505cdd727aed7fae0831e12 (diff) |
mesa/swrast: implement EXT_texture_sRGB_decode
This implements the extension by choosing a different set of texture
fetch functions when the texture parameter changes.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index b8e76664f8..d4dc5eac03 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -228,4 +228,7 @@ _mesa_format_to_type_and_comps(gl_format format, extern void _mesa_test_formats(void); +extern gl_format +_mesa_get_srgb_format_linear(gl_format format); + #endif /* FORMATS_H */ |