summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-09-12 03:30:02 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-09-12 03:30:02 +0000
commite79f4b08d5005a4053230a1e4c66455fb9e56430 (patch)
tree2d12b3651c0cb1f5441575c61abc1cb9a5080a4d /src/mesa
parent517903edcde914f03a586fe515d40dccb54a1238 (diff)
hook compressed texture functions into driver
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index d18a9a50e83..854c502029b 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.66 2001/09/10 18:53:45 brianp Exp $ */
+/* $Id: osmesa.c,v 1.67 2001/09/12 03:30:02 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2014,6 +2014,9 @@ static void osmesa_update_state( GLcontext *ctx, GLuint new_state )
ctx->Driver.CopyConvolutionFilter1D = _swrast_CopyConvolutionFilter1D;
ctx->Driver.CopyConvolutionFilter2D = _swrast_CopyConvolutionFilter2D;
+ ctx->Driver.BaseCompressedTexFormat = _mesa_base_compressed_texformat;
+ ctx->Driver.CompressedTextureSize = _mesa_compressed_texture_size;
+ ctx->Driver.GetCompressedTexImage = _mesa_get_compressed_teximage;
/* RGB(A) span/pixel functions */
if (osmesa->format == OSMESA_RGB) {