From 2b681b167c1d307f550a8dc7b56a94d13886827e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 May 2015 22:07:05 +0300 Subject: Add method safeDrawFrame for safe OpenGL renderer. --- src/gui/widgets/widget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/widget.h') diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 723811e66..7c3134302 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -147,6 +147,9 @@ class Widget notfinal : public Widget2 virtual void drawFrame(Graphics* graphics A_UNUSED) { } + virtual void safeDrawFrame(Graphics* graphics A_UNUSED) + { } + /** * Sets the size of the widget's frame. The frame is not considered a part of * the widget, it only allows a frame to be drawn around the widget, thus a frame -- cgit v1.2.3-60-g2f50