summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-30 08:15:30 -0600
committerBrian Paul <[email protected]>2011-09-30 08:15:30 -0600
commit4368a657670f1f3f13d8497f749cb5439f91529e (patch)
tree71965b364e065ee9cc360eb0a0e99cd3be0e7553 /src/mesa/main/texgetimage.h
parentd742a64909b2b414fc94b6f525a13ce09ca7f9f7 (diff)
mesa: simplify parameters to GetTexImage() driver hook
The target, level and texObj can be obtained through the texImage parameter. We could make similar changes for the TexImage() hooks too. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/texgetimage.h')
-rw-r--r--src/mesa/main/texgetimage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/texgetimage.h b/src/mesa/main/texgetimage.h
index 8612705ca88..02b1cf4599c 100644
--- a/src/mesa/main/texgetimage.h
+++ b/src/mesa/main/texgetimage.h
@@ -34,9 +34,8 @@ struct gl_texture_image;
struct gl_texture_object;
extern void
-_mesa_get_teximage(struct gl_context *ctx, GLenum target, GLint level,
+_mesa_get_teximage(struct gl_context *ctx,
GLenum format, GLenum type, GLvoid *pixels,
- struct gl_texture_object *texObj,
struct gl_texture_image *texImage);