summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
commit533172dc2df60406e2c7f08f36de3742721f8079 (patch)
tree3cdd02c2876a8eaeb8d852384e6214ecac13739c /src/render
parentfed37f530d063cbce6a9bba7f1a878c42e10367e (diff)
downloadmv-533172dc2df60406e2c7f08f36de3742721f8079.tar.gz
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.bz2
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.xz
mv-533172dc2df60406e2c7f08f36de3742721f8079.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mockdrawitem.h2
-rw-r--r--src/render/shaders/shadersmanager.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/render/mockdrawitem.h b/src/render/mockdrawitem.h
index 94198329a..784e61861 100644
--- a/src/render/mockdrawitem.h
+++ b/src/render/mockdrawitem.h
@@ -44,6 +44,8 @@ struct MockDrawItem final
{
}
+ A_DEFAULT_COPY(MockDrawItem)
+
const Image *image;
MockDrawTypeT drawType;
int x;
diff --git a/src/render/shaders/shadersmanager.h b/src/render/shaders/shadersmanager.h
index 9f6bd894f..8e45290c4 100644
--- a/src/render/shaders/shadersmanager.h
+++ b/src/render/shaders/shadersmanager.h
@@ -33,6 +33,11 @@ class ShaderProgram;
class ShadersManager final
{
public:
+ ShadersManager()
+ { }
+
+ A_DELETE_COPY(ShadersManager)
+
Shader *createShader(const unsigned int type,
const std::string &fileName) A_WARN_UNUSED;