mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
Make sure RENDER_FINISH is called on the zero pixel case. Reported by
Haihao Xiang.
This commit is contained in:
parent
efa91b9a8f
commit
6cc5a82206
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue