From 8f04c12e0ad876baa7eb9ed379e2b00150b376e0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 27 Apr 2004 13:39:20 +0000 Subject: 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). --- src/mesa/main/context.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 2328b3726e..e3cfd5c3f9 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 @@ init_attrib_groups( GLcontext *ctx ) 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; -- cgit v1.2.3