mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:39:18 +02:00
Gtk2: fixed mono bitmap creation on gtk2. issue #12362
git-svn-id: trunk@35278 -
This commit is contained in:
parent
948afeefd5
commit
a48c391314
@ -580,7 +580,7 @@ begin
|
||||
|
||||
if not (riqfUpdate in AFlags)
|
||||
then ADesc.Init;
|
||||
|
||||
(*
|
||||
if riqfMono in AFlags
|
||||
then begin
|
||||
ADesc.Format := ricfGray;
|
||||
@ -598,7 +598,7 @@ begin
|
||||
ADesc.BluePrec := 1;
|
||||
ADesc.BlueShift := Desc.MaskShift;
|
||||
end
|
||||
(*
|
||||
|
||||
//TODO
|
||||
else if riqfGrey in AFlags
|
||||
then begin
|
||||
@ -613,7 +613,7 @@ begin
|
||||
ADesc.RedShift := 0;
|
||||
end
|
||||
*)
|
||||
else if riqfRGB in AFlags
|
||||
if (riqfMono in AFlags) or (riqfRGB in AFlags)
|
||||
then begin
|
||||
ADesc.Format := ricfRGBA;
|
||||
ADesc.Depth := Desc.Depth;
|
||||
|
Loading…
Reference in New Issue
Block a user