mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 20:47:58 +02:00
LCL-GTK3: Fix speedbutton images. Issue #39614, patch by dbannon.
This commit is contained in:
parent
0aada2da4c
commit
07ae01b655
@ -309,13 +309,13 @@ function TGtk3WidgetSet.RawImage_DescriptionFromBitmap(ABitmap: HBITMAP; out ADe
|
||||
const
|
||||
CairoImageFormatToDepth: array[cairo_format_t] of integer =
|
||||
(
|
||||
{CAIRO_FORMAT_RGB30} 15,
|
||||
{CAIRO_FORMAT_RGB16_565} 16,
|
||||
{CAIRO_FORMAT_INVALID} -1,
|
||||
{CAIRO_FORMAT_ARGB32} 32,
|
||||
{CAIRO_FORMAT_RGB24} 24,
|
||||
{CAIRO_FORMAT_A8} 8,
|
||||
{CAIRO_FORMAT_A1} 1,
|
||||
{CAIRO_FORMAT_INVALID} -1
|
||||
{CAIRO_FORMAT_RGB16_565} 16,
|
||||
{CAIRO_FORMAT_RGB30} 15
|
||||
);
|
||||
//============================
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user