summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-25 17:25:46 -0600
committerBrian Paul <[email protected]>2009-10-25 17:25:46 -0600
commit20c6c5853261b31ecd50d58e0aae9b92f25e41db (patch)
treeaf937f94b4a04e7a199ab6e8e99a01b9000a8f5e
parente3f2efc4f14d6f0d06560d2acfac73628f5a74a6 (diff)
mesa: remove _mesa_compressed_row_stride()
-rw-r--r--src/mesa/main/texcompress.c15
-rw-r--r--src/mesa/main/texcompress.h5
2 files changed, 0 insertions, 20 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index 423ad2490c0..262e8236edd 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
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 43cd7418956..d6c16e936c0 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -36,10 +36,6 @@ _mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all);
extern gl_format
_mesa_glenum_to_compressed_format(GLenum format);
-extern GLint
-_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width);
-
-
extern GLubyte *
_mesa_compressed_image_address(GLint col, GLint row, GLint img,
gl_format mesaFormat,
@@ -58,7 +54,6 @@ _mesa_init_texture_fxt1( GLcontext *ctx );
/* no-op macros */
#define _mesa_get_compressed_formats( c, f ) 0
#define _mesa_compressed_texture_size_glenum( c, w, h, d, f ) 0
-#define _mesa_compressed_row_stride( f, w) 0
#define _mesa_compressed_image_address(c, r, i, f, w, i2 ) 0
#define _mesa_compress_teximage( c, w, h, sF, s, sRS, dF, d, drs ) ((void)0)