diff options
author | Pauli Nieminen <[email protected]> | 2012-06-12 21:38:43 +0300 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-08-12 15:49:13 -0700 |
commit | c5af8891805fc4f590c1371c098cdbc704c44e00 (patch) | |
tree | e1b0460b0d8e46328e9531ebfeffc12caa2c5895 /src/mesa/main/dd.h | |
parent | e98ace934e1ea875f352fcef823ca46a416ca751 (diff) |
mesa: Remove unnecessary parameters from TexImage
gl_texture_image structure always holds size and internal format before
TexImage driver hook is called. Those passing same information in
function parameters only duplicates information making the interface
harder to understand.
Signed-off-by: Pauli Nieminen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index e60d019bb0d..546e360819a 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -208,8 +208,6 @@ struct dd_function_table { */ void (*TexImage)(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, - GLint internalFormat, - GLint width, GLint height, GLint depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing); |