OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa91b9
)
Make sure RENDER_FINISH is called on the zero pixel case. Reported by
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 14 Nov 2006 14:22:43 +0000
(14:22 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 14 Nov 2006 14:22:43 +0000
(14:22 +0000)
Haihao Xiang.
src/mesa/swrast/s_readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_readpix.c
b/src/mesa/swrast/s_readpix.c
index
cbfb771
..
128ce0a
100644
(file)
--- a/
src/mesa/swrast/s_readpix.c
+++ b/
src/mesa/swrast/s_readpix.c
@@
-554,7
+554,7
@@
_swrast_ReadPixels( GLcontext *ctx,
/* Do all needed clipping here, so that we can forget about it later */
if (!_mesa_clip_readpixels(ctx, &x, &y, &width, &height, &clippedPacking)) {
/* The ReadPixels region is totally outside the window bounds */
-
return
;
+
goto end
;
}
if (clippedPacking.BufferObj->Name) {