summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorPauli Nieminen <pauli.nieminen@linux.intel.com>2012-06-12 21:38:43 +0300
committerKenneth Graunke <kenneth@whitecape.org>2012-08-12 15:49:13 -0700
commitc5af8891805fc4f590c1371c098cdbc704c44e00 (patch)
treee1b0460b0d8e46328e9531ebfeffc12caa2c5895 /src/mesa/main/texstore.h
parente98ace934e1ea875f352fcef823ca46a416ca751 (diff)
downloadexternal_mesa3d-c5af8891805fc4f590c1371c098cdbc704c44e00.zip
external_mesa3d-c5af8891805fc4f590c1371c098cdbc704c44e00.tar.gz
external_mesa3d-c5af8891805fc4f590c1371c098cdbc704c44e00.tar.bz2
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 <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index 5a1c014..fbcb41b 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -93,8 +93,6 @@ extern void
_mesa_store_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);