diff options
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 0adf8ca87..16e15d90a 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -2,7 +2,7 @@ // Declaration of classes Fl_Graphics_Driver, Fl_Scalable_Graphics_Driver, // and Fl_Font_Descriptor for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2023 by Bill Spitzak and others. +// Copyright 2010-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -52,7 +52,12 @@ typedef void (*Fl_Draw_Image_Cb)(void* data,int x,int y,int w,uchar* buf); struct Fl_Fontdesc; typedef struct _PangoFontDescription PangoFontDescription; -#define FL_REGION_STACK_SIZE 10 +// FIXME: The following constants are deprecated and will be removed in FLTK 1.5.0 +// in favor of dynamic clipping stack allocation. This needs C++11 features. +// See issue #1139: "FL_REGION_STACK_SIZE could be increased" +// and issue #1140: "Fix static array allocation". + +#define FL_REGION_STACK_SIZE 64 #define FL_MATRIX_STACK_SIZE 32 /** |
