summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-18 17:39:01 -0700
committerBrian Paul <[email protected]>2011-11-19 07:28:07 -0700
commit72fb25cefbf58d477d99ce2c986a703f1178cf59 (patch)
tree6bd6c56658efc10cb1cc480a3fc938b645f5e1b2 /src/mesa/main
parent2efa3d4f9fd1e1683c5366d402d8740ecfb688e5 (diff)
mesa: make slow_read_rgba_pixels() a void function
The boolean return value was ignored by the caller. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/readpix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c
index 86b87534d31..aa893deeda7 100644
--- a/src/mesa/main/readpix.c
+++ b/src/mesa/main/readpix.c
@@ -224,7 +224,7 @@ fast_read_rgba_pixels_memcpy( struct gl_context *ctx,
return GL_TRUE;
}
-static GLboolean
+static void
slow_read_rgba_pixels( struct gl_context *ctx,
GLint x, GLint y,
GLsizei width, GLsizei height,
@@ -263,8 +263,6 @@ slow_read_rgba_pixels( struct gl_context *ctx,
}
ctx->Driver.UnmapRenderbuffer(ctx, rb);
-
- return GL_TRUE;
}
/*