summaryrefslogtreecommitdiff
path: root/src/mesa/main/mipmap.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-11 10:59:40 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:51:11 +1100
commit3812bba8391fbf6c6c32a778ce0e1081825d5c52 (patch)
tree2050d574fc59c1bbe57511278ed782b896291d84 /src/mesa/main/mipmap.h
parent48c4a1ed12d30932c5a9d09424213a830efe2ef9 (diff)
gallium: take pitch/stride into account in mipmap generation
Diffstat (limited to 'src/mesa/main/mipmap.h')
-rw-r--r--src/mesa/main/mipmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.h b/src/mesa/main/mipmap.h
index b6491f5507..44ecdddb27 100644
--- a/src/mesa/main/mipmap.h
+++ b/src/mesa/main/mipmap.h
@@ -34,8 +34,10 @@ _mesa_generate_mipmap_level(GLenum target,
GLenum datatype, GLuint comps,
GLint border,
GLint srcWidth, GLint srcHeight, GLint srcDepth,
+ GLint srcRowStride,
const GLubyte *srcData,
GLint dstWidth, GLint dstHeight, GLint dstDepth,
+ GLint dstRowStride,
GLubyte *dstData);