Increase clipping stack size (#1139)
This commit is contained in:
parent
cef968e8a0
commit
801125b9a4
@ -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
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user