projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2f3db
)
plug in ctx->Driver.GenerateMipmap function
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 6 Feb 2008 01:15:39 +0000
(18:15 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 6 Feb 2008 16:35:39 +0000
(09:35 -0700)
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index eee94baa20cc1eda8904586aeb32c34d94604eb1..15c5359360e93f4b869cd3183af9eff0253e1556 100644
(file)
--- 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;