mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
XXX comments
This commit is contained in:
parent
b176ef05f2
commit
26dc161fde
1 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ static GLboolean do_blit_readpixels( GLcontext *ctx,
|
|||
return GL_FALSE;
|
||||
|
||||
if (dst) {
|
||||
/* This validation should be done by core mesa:
|
||||
/* XXX This validation should be done by core mesa:
|
||||
*/
|
||||
if (!_mesa_validate_pbo_access(2, pack, width, height, 1,
|
||||
format, type, pixels)) {
|
||||
|
|
@ -231,7 +231,7 @@ static GLboolean do_blit_readpixels( GLcontext *ctx,
|
|||
rowLength = -rowLength;
|
||||
}
|
||||
|
||||
|
||||
/* XXX 64-bit cast? */
|
||||
dst_offset = (GLuint) _mesa_image_address(2, pack, pixels, width, height,
|
||||
format, type, 0, 0, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue