diff options
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r-- | src/mesa/main/texcompress.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h index d0856142e32..457c1d7582d 100644 --- a/src/mesa/main/texcompress.h +++ b/src/mesa/main/texcompress.h @@ -28,7 +28,7 @@ #include "mtypes.h" - +#if _HAVE_FULL_GL extern GLuint _mesa_get_compressed_formats( GLcontext *ctx, GLint *formats ); @@ -53,5 +53,12 @@ _mesa_compress_teximage( GLcontext *ctx, GLsizei width, GLsizei height, 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 */ |