diff options
Diffstat (limited to 'src/screenshooter.c')
-rw-r--r-- | src/screenshooter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshooter.c b/src/screenshooter.c index 6748645..f9497f7 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -62,7 +62,7 @@ screenshooter_shoot(struct wl_client *client, glPixelStorei(GL_PACK_ALIGNMENT, 1); glReadPixels(0, 0, output->current->width, output->current->height, - GL_RGBA, GL_UNSIGNED_BYTE, tmp); + GL_BGRA_EXT, GL_UNSIGNED_BYTE, tmp); d = wl_shm_buffer_get_data(buffer); s = tmp + stride * (buffer->height - 1); |