summaryrefslogtreecommitdiff
path: root/src/mesa/main/texcompress.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-25 17:25:46 -0600
committerBrian Paul <brianp@vmware.com>2009-10-25 17:25:46 -0600
commit20c6c5853261b31ecd50d58e0aae9b92f25e41db (patch)
treeaf937f94b4a04e7a199ab6e8e99a01b9000a8f5e /src/mesa/main/texcompress.c
parente3f2efc4f14d6f0d06560d2acfac73628f5a74a6 (diff)
mesa: remove _mesa_compressed_row_stride()
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r--src/mesa/main/texcompress.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index 423ad2490c..262e8236ed 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -154,21 +154,6 @@ _mesa_glenum_to_compressed_format(GLenum format)
/*
- * Compute the bytes per row in a compressed texture image.
- * We use this for computing the destination address for sub-texture updates.
- * \param mesaFormat one of the MESA_FORMAT_* compressed formats
- * \param width image width in pixels
- * \return stride, in bytes, between rows for compressed image
- */
-GLint
-_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width)
-{
- GLint stride = _mesa_format_row_stride(mesaFormat, width);
- return stride;
-}
-
-
-/*
* Return the address of the pixel at (col, row, img) in a
* compressed texture image.
* \param col, row, img - image position (3D), should be a multiple of the