summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-01-16 13:38:13 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-01-16 13:38:13 +0100
commitd17454ac6af8b55169d3d7aefad498a133b9c0f9 (patch)
treeb9a18682343a7735fb1df5a3dd4e884d8c0258d0 /src
parenta4fc8b06e1d3f39b413a19174cb661f198759793 (diff)
Correct typo in comment.
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index f8d84ef36..6ddc8b988 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2175,7 +2175,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
All Quartz drawings go to this bitmap. displayLayer: finishes by using an image copy
of the bitmap as the layer's contents. That step fills the window.
When resized or when the window flips between low/high resolution displays,
- FLViewLayer receives the viewFrameDidChange message which deletes the bitmap and zeros layer_data.
+ FLViewLayer receives the viewFrameDidChange message which deletes the bitmap and zeroes layer_data.
This ensures the bitmap is recreated after the window was resized or changed resolution.
Each layer-backed OpenGL window has an associated FLGLViewLayer object, derived from FLView.