mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 10:20:22 +01:00
mesa: make slow_read_rgba_pixels() a void function
The boolean return value was ignored by the caller. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
2efa3d4f9f
commit
72fb25cefb
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue