summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fl_draw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx
index 72823b078..652f46058 100644
--- a/src/fl_draw.cxx
+++ b/src/fl_draw.cxx
@@ -582,14 +582,14 @@ int fl_height(int font, int size) {
This must be matched by a later call to fl_restore_scale().
This function can be used to transiently perform drawing operations
that are not rescaled by the current value of the GUI scaling factor.
- The resulting drawing context has no clipping region.
+ It's not supported to call fl_push_clip() while transiently removing scaling.
\return The GUI scaling factor value that was in place when the function started.
*/
float fl_override_scale() {
return fl_graphics_driver->override_scale();
}
-/** Restores the GUI scaling factor and the clipping region in subsequent drawing operations.
+/** Restores the GUI scaling factor in subsequent drawing operations.
\param s Value returned by a previous call to fl_override_scale(). */
void fl_restore_scale(float s) {
fl_graphics_driver->restore_scale(s);