-/* $Id: texcompress.h,v 1.1 2002/09/27 02:45:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
#include "mtypes.h"
-
+#if _HAVE_FULL_GL
extern GLuint
_mesa_get_compressed_formats( GLcontext *ctx, GLint *formats );
extern void
_mesa_compress_teximage( GLcontext *ctx, GLsizei width, GLsizei height,
- GLenum srcFormat,
- const GLchan *source, GLint srcRowStride,
- GLenum dstformat, GLubyte *dest, GLint dstRowStride );
-
+ GLenum srcFormat, const GLchan *source,
+ GLint srcRowStride,
+ const struct gl_texture_format *dstFormat,
+ GLubyte *dest, GLint dstRowStride );
+#else
+#define _mesa_get_compressed_formats( c, f ) 0
+#define _mesa_compressed_texture_size( 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)
+#endif
#endif /* TEXCOMPRESS_H */