summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-05 18:15:39 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:32 +1100
commit30c9e12f8d20a950b39577ea2b4a2e7a850dfe10 (patch)
tree3437e5ff59ccea2a39b79365337dac7ce8b3bfc0 /src
parent08ffa00d15c4871a22f0670a8aacd7a3995a6769 (diff)
plug in ctx->Driver.GenerateMipmap function
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index eee94baa20..15c5359360 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -30,6 +30,7 @@
#include "main/enums.h"
#include "main/image.h"
#include "main/macros.h"
+#include "main/mipmap.h"
#include "main/texcompress.h"
#include "main/texformat.h"
#include "main/teximage.h"
@@ -1531,6 +1532,7 @@ st_init_texture_functions(struct dd_function_table *functions)
functions->CopyTexSubImage1D = st_CopyTexSubImage1D;
functions->CopyTexSubImage2D = st_CopyTexSubImage2D;
functions->CopyTexSubImage3D = st_CopyTexSubImage3D;
+ functions->GenerateMipmap = _mesa_generate_mipmap;
functions->GetTexImage = st_GetTexImage;