diff options
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index 0873d682..4482aa90 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -93,7 +93,7 @@ type FBufferBitmap: HBitmap; FDrawWindow: TfpgWindowImpl; Fgc: TfpgDCHandle; - fBufgc: TfpgDCHandle; + FBufgc: TfpgDCHandle; FWinGC: TfpgDCHandle; FBackgroundColor: TfpgColor; FCurFontRes: TfpgFontResourceImpl; @@ -1434,8 +1434,7 @@ begin DeleteObject(FPen); DeleteObject(FClipRegion); - if FastDoubleBuffer = False then - TryFreeBackBuffer; + TryFreeBackBuffer; Windows.ReleaseDC(FDrawWindow.FWinHandle, FWingc); |