summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
commite066ec2e038405621a7de50e4cd735e548eb488d (patch)
tree626e7ddacf867949a5380bfe528a332dffada5a4 /src/safeopenglgraphics.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmanaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h3
1 files changed, 3 insertions, 0 deletions
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);