summaryrefslogtreecommitdiff
path: root/src/mesa/main/texfetch.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2011-01-13 12:12:21 +1000
committerDave Airlie <airlied@redhat.com>2011-01-16 12:54:06 +1000
commitedc2dd8e4788e556d445c9f59974ed95b33c2bbc (patch)
tree414f98866a8197661563ec673806ead56de3afc7 /src/mesa/main/texfetch.h
parentac6334145ec8eef42505cdd727aed7fae0831e12 (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/texfetch.h')
-rw-r--r--src/mesa/main/texfetch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texfetch.h b/src/mesa/main/texfetch.h
index e78079ae5a..002ff0c768 100644
--- a/src/mesa/main/texfetch.h
+++ b/src/mesa/main/texfetch.h
@@ -40,4 +40,6 @@ _mesa_get_texel_fetch_func(gl_format format, GLuint dims);
extern void
_mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims);
+void
+_mesa_update_fetch_functions(struct gl_texture_object *texObj);
#endif