mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
render: drop wlr_renderer_read_pixels() flags
These are unused.
This commit is contained in:
parent
50cc1ef4d3
commit
6832ae14aa
8 changed files with 12 additions and 27 deletions
|
|
@ -415,7 +415,7 @@ static uint32_t gles2_preferred_read_format(
|
|||
}
|
||||
|
||||
static bool gles2_read_pixels(struct wlr_renderer *wlr_renderer,
|
||||
uint32_t drm_format, uint32_t *flags, uint32_t stride,
|
||||
uint32_t drm_format, uint32_t stride,
|
||||
uint32_t width, uint32_t height, uint32_t src_x, uint32_t src_y,
|
||||
uint32_t dst_x, uint32_t dst_y, void *data) {
|
||||
struct wlr_gles2_renderer *renderer =
|
||||
|
|
@ -464,10 +464,6 @@ static bool gles2_read_pixels(struct wlr_renderer *wlr_renderer,
|
|||
|
||||
pop_gles2_debug(renderer);
|
||||
|
||||
if (flags != NULL) {
|
||||
*flags = 0;
|
||||
}
|
||||
|
||||
return glGetError() == GL_NO_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue