summaryrefslogtreecommitdiff
path: root/src/mesa/main/format_pack.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-07-01 17:20:55 -0700
committerEric Anholt <eric@anholt.net>2019-07-16 12:51:13 -0700
commite8360a64e43f2f254addd6dc414df018f6286a92 (patch)
tree41a5d4cc7991f3ebacc2e0d60e7bb55427d671b5 /src/mesa/main/format_pack.h
parent4d23157a8bf5da2f20ad477029fcf59d9df8557e (diff)
swrast: Move _mesa_format_pack_colormask() to the only caller.
This avoids needing format_pack to have access to the GLenum return functions for mesa_format. It seems like an odd function and unlikely to be reused. Reviewed-by: Thomas Helland <thomashelland90@gmail.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Diffstat (limited to 'src/mesa/main/format_pack.h')
-rw-r--r--src/mesa/main/format_pack.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/format_pack.h b/src/mesa/main/format_pack.h
index 8859c17a0d3..e54105aff51 100644
--- a/src/mesa/main/format_pack.h
+++ b/src/mesa/main/format_pack.h
@@ -101,8 +101,4 @@ extern void
_mesa_pack_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n,
const uint32_t *src, void *dst);
-
-extern void
-_mesa_pack_colormask(mesa_format format, const uint8_t colorMask[4], void *dst);
-
#endif