hook compressed texture functions into driver
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 12 Sep 2001 03:30:02 +0000 (03:30 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 12 Sep 2001 03:30:02 +0000 (03:30 +0000)
src/mesa/drivers/osmesa/osmesa.c

index d18a9a50e8330308e74963d1cb552a4ba720511a..854c502029bc003ca0fae43f9592897b51d47ab2 100644 (file)
@@ -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) {