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).
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 2328b37..e3cfd5c 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -109,6 +109,7 @@
#include "simple_list.h"
#include "state.h"
#include "stencil.h"
+#include "texcompress.h"
#include "teximage.h"
#include "texobj.h"
#include "texstate.h"
@@ -1130,6 +1131,9 @@
if (!_mesa_init_texture( ctx ))
return GL_FALSE;
+ _mesa_init_texture_s3tc( ctx );
+ _mesa_init_texture_fxt1( ctx );
+
/* Miscellaneous */
ctx->NewState = _NEW_ALL;
ctx->ErrorValue = (GLenum) GL_NO_ERROR;