1
0
Fork 0
forked from Miroirs/x49gp
This commit is contained in:
Gwenhael Le Moine 2024-11-05 16:39:50 +01:00
parent b8614acbae
commit 505263002c
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1569,6 +1569,7 @@ static int draw_lcd( GtkWidget* widget, GdkEventConfigure* event, gpointer user_
if ( NULL != ui->lcd_pixmap )
return false;
/* FIXME: render this using unicode labels too */
const cairo_format_t cairo_fmt = CAIRO_FORMAT_A1;
int stride = cairo_format_stride_for_width( cairo_fmt, 12 );
ui->ann_left_surface = cairo_image_surface_create_for_data( ann_left_bits, cairo_fmt, ann_left_width, ann_left_height, stride );