mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 09:39:16 +02:00
gtk: skip ROP2 for FillRect (partly fixes issue #0013746)
git-svn-id: trunk@20031 -
This commit is contained in:
parent
7dcf00f903
commit
ef226daf23
@ -4321,6 +4321,7 @@ begin
|
||||
//DebugLn('TGtkWidgetSet.FillRect Color=',DbgS(CurrentBrush^.GDIBrushColor.ColorRef));
|
||||
|
||||
SelectBrushProps;
|
||||
gdk_gc_set_function(GC, GDK_COPY);
|
||||
|
||||
DCOrigin := Offset;
|
||||
if (CurrentBrush^.GDIBrushFill = GDK_SOLID) and
|
||||
@ -4336,6 +4337,7 @@ begin
|
||||
Rect.Left+DCOrigin.X, Rect.Top+DCOrigin.Y,
|
||||
Width, Height);
|
||||
end;
|
||||
gdk_gc_set_function(GC, GCValues._function);
|
||||
|
||||
// Restore current brush
|
||||
if BrushChanged then
|
||||
|
Loading…
Reference in New Issue
Block a user