projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swrast: wrap comment to 80 columns, remove dead code
[mesa.git]
/
src
/
mesa
/
swrast
/
s_readpix.c
diff --git
a/src/mesa/swrast/s_readpix.c
b/src/mesa/swrast/s_readpix.c
index e901fc6b5dcdd2d66fc648f3beda019627ad6d98..48b9408d242f49bb790ed8e91b0164a41d3506e9 100644
(file)
--- a/
src/mesa/swrast/s_readpix.c
+++ b/
src/mesa/swrast/s_readpix.c
@@
-574,7
+574,7
@@
_swrast_ReadPixels( GLcontext *ctx,
return;
}
return;
}
- pixels = _mesa_map_
readpix_pbo
(ctx, &clippedPacking, pixels);
+ pixels = _mesa_map_
pbo_dest
(ctx, &clippedPacking, pixels);
if (!pixels)
return;
if (!pixels)
return;
@@
-616,5
+616,5
@@
_swrast_ReadPixels( GLcontext *ctx,
swrast_render_finish(ctx);
swrast_render_finish(ctx);
- _mesa_unmap_
readpix_pbo
(ctx, &clippedPacking);
+ _mesa_unmap_
pbo_dest
(ctx, &clippedPacking);
}
}