summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-03 12:10:53 -0600
committerBrian Paul <brianp@vmware.com>2009-09-03 12:10:53 -0600
commitd75a99edd6386ab26d69a3f0cbbed4c79fe5fad4 (patch)
treec5bc8924c412098bda9fb50e69049f31d078f15e
parent7a7d5879e28607c151132a8b6a07cf4be36b5b3e (diff)
mesa: fix typos in separable filter functions
-rw-r--r--src/mesa/main/convolve.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/convolve.c b/src/mesa/main/convolve.c
index 4d17f533d7..70951112a1 100644
--- a/src/mesa/main/convolve.c
+++ b/src/mesa/main/convolve.c
@@ -761,7 +761,7 @@ _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
/* get column filter */
column = _mesa_map_validate_pbo_dest(ctx, 1, &ctx->Pack,
filter->Height, 1, 1,
- format, type, row,
+ format, type, column,
"glGetConvolutionFilter");
if (column) {
GLvoid *dst = _mesa_image_address1d(&ctx->Pack, column, filter->Height,
@@ -827,7 +827,7 @@ _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLs
row = _mesa_map_validate_pbo_source(ctx, 1, &ctx->Unpack,
width, 1, 1,
format, type, row,
- "glSeperableFilter2D");
+ "glSeparableFilter2D");
if (row) {
_mesa_unpack_color_span_float(ctx, width, GL_RGBA,
ctx->Separable2D.Filter,
@@ -849,8 +849,8 @@ _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLs
/* unpack column filter */
column = _mesa_map_validate_pbo_source(ctx, 1, &ctx->Unpack,
height, 1, 1,
- format, type, row,
- "glSeperableFilter2D");
+ format, type, column,
+ "glSeparableFilter2D");
if (column) {
_mesa_unpack_color_span_float(ctx, height, GL_RGBA,
&ctx->Separable2D.Filter[colStart],