summaryrefslogtreecommitdiff
path: root/src/fl_rect.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-20 22:24:08 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-20 22:24:08 +0000
commit9550d745cdcf4a819b4563338385d8626810ecb1 (patch)
treeb2b329b1b979b4e89a17592353a062fe4f63d067 /src/fl_rect.cxx
parent7d0cf9299ae22b7ff6e9bfe1db31a44663ae83e7 (diff)
Avoid clipping stack overruns in OpenGL graphics driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_rect.cxx')
-rw-r--r--src/fl_rect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 7979c1085..771cc6a8b 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -45,9 +45,9 @@
// This is defined in src/fl_line_style.cxx
extern int fl_line_width_;
+
void Fl_Graphics_Driver::restore_clip() {
fl_clip_state_number++;
- Fl_Region r = rstack[rstackptr];
}
void Fl_Graphics_Driver::clip_region(Fl_Region r) {