summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-04-27 13:39:20 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-04-27 13:39:20 +0000
commit8f04c12e0ad876baa7eb9ed379e2b00150b376e0 (patch)
tree2d30ddd41662329fd0041dc530bce31945775813 /src/mesa/drivers
parent186d4d8cf4bd99c46b388e6ea0c60ec1d039be07 (diff)
Removed the old teximage code.
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 8da537dd18..a51f6505f3 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -28,6 +28,7 @@
#include "buffers.h"
#include "context.h"
#include "program.h"
+#include "texcompress.h"
#include "texformat.h"
#include "teximage.h"
#include "texobj.h"
@@ -90,8 +91,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->CompressedTexSubImage1D = _mesa_store_compressed_texsubimage1d;
driver->CompressedTexSubImage2D = _mesa_store_compressed_texsubimage2d;
driver->CompressedTexSubImage3D = _mesa_store_compressed_texsubimage3d;
- driver->IsCompressedFormat = NULL; /* XXX?? */
- driver->CompressedTextureSize = NULL; /* XXX?? */
+ driver->CompressedTextureSize = _mesa_compressed_texture_size;
driver->BindTexture = NULL;
driver->NewTextureObject = _mesa_new_texture_object;
driver->DeleteTexture = _mesa_delete_texture_object;