mesa: remove _mesa_compressed_row_stride()

This commit is contained in:
Brian Paul 2009-10-25 17:25:46 -06:00
parent e3f2efc4f1
commit 20c6c58532
2 changed files with 0 additions and 20 deletions

View file

@ -153,21 +153,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.

View file

@ -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)