projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efa3d4
)
mesa: make slow_read_rgba_pixels() a void function
author
Brian Paul
<brianp@vmware.com>
Sat, 19 Nov 2011 00:39:01 +0000
(17:39 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 19 Nov 2011 14:28:07 +0000
(07:28 -0700)
The boolean return value was ignored by the caller.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/readpix.c
b/src/mesa/main/readpix.c
index 86b87534d31540c59d8bc3dabaf50ef784fdda12..aa893deeda7fec699283d90acb115f19c56432e8 100644
(file)
--- 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;
}
/*