summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-05 18:15:03 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:32 +1100
commit08ffa00d15c4871a22f0670a8aacd7a3995a6769 (patch)
tree596a80088e87184cdf2b6876c632d1c979d879b4 /src/mesa/main/dd.h
parent20aa31a2447a4bda378bf3d2d78c078d748b8271 (diff)
Added ctx->Driver.GenerateMipmap() driver hook
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 3bec3bd433..c2ef67ba6d 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -333,6 +333,13 @@ struct dd_function_table {
GLsizei width, GLsizei height );
/**
+ * Called by glGenerateMipmap() or when GL_GENERATE_MIPMAP_SGIS is enabled.
+ */
+ void (*GenerateMipmap)(GLcontext *ctx, GLenum target,
+ const struct gl_texture_unit *texUnit,
+ struct gl_texture_object *texObj);
+
+ /**
* Called by glTexImage[123]D when user specifies a proxy texture
* target.
*