summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-22 07:36:33 -0600
committerBrian Paul <[email protected]>2008-10-22 07:36:33 -0600
commit22e442544bc451f114288f07cf9cc1584ca357a1 (patch)
tree348103c6dcf57df36849cbc9825d97506e4815a2 /src/mesa/main/teximage.h
parent0970de31718288e5f2d655147d067ab2e2df5e37 (diff)
mesa: in textore.c, only adjust image for convolution if image is a color format
Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats)
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index b718c0046d8..eb60a1fa8fa 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -111,6 +111,9 @@ extern GLuint
_mesa_tex_target_to_face(GLenum target);
+extern GLboolean
+_mesa_is_color_format(GLenum format);
+
/**
* Lock a texture for updating. See also _mesa_lock_context_textures().