summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
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;