From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/safeopenglgraphics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/safeopenglgraphics.h') diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index f594c57e5..83ccc25cb 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -41,6 +41,8 @@ class SafeOpenGLGraphics final : public Graphics public: SafeOpenGLGraphics(); + A_DELETE_COPY(SafeOpenGLGraphics); + ~SafeOpenGLGraphics(); bool setVideoMode(const int w, const int h, const int bpp, @@ -102,6 +104,7 @@ class SafeOpenGLGraphics final : public Graphics void updateScreen() override; void _beginDraw(); + void _endDraw(); bool pushClipArea(gcn::Rectangle area); -- cgit v1.2.3-70-g09d2