Commit e341dfdc authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix latest changes in bb10 display resulting in black screen

parent 70c4f706
......@@ -157,8 +157,8 @@ static void bb10display_fillWindowBuffer(BB10Display *d, MSPicture *yuvbuf) {
ms_layout_center_rectangle(d->wsize, d->vsize, &rect);
int attributes[] = {
SCREEN_BLIT_SOURCE_WIDTH, d->vsize.width, SCREEN_BLIT_SOURCE_HEIGHT, d->vsize.height,
SCREEN_BLIT_SOURCE_X, rect.x, SCREEN_BLIT_SOURCE_Y, rect.y,
SCREEN_BLIT_SOURCE_WIDTH, rect.w, SCREEN_BLIT_SOURCE_HEIGHT, rect.h,
SCREEN_BLIT_DESTINATION_X, rect.x, SCREEN_BLIT_DESTINATION_Y, rect.y,
SCREEN_BLIT_DESTINATION_WIDTH, rect.w, SCREEN_BLIT_DESTINATION_HEIGHT, rect.h,
SCREEN_BLIT_END
};
screen_blit(d->context, buffer, d->pixmap_buffer, attributes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment