summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'texture.h')
-rw-r--r--texture.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/texture.h b/texture.h
index df9f287..9955f01 100644
--- a/texture.h
+++ b/texture.h
@@ -6,20 +6,17 @@
class Texture {
public:
- Texture(const std::string & fileName);
+ explicit Texture(const std::string & fileName);
- void Bind();
+ Texture(const Texture &) = delete;
+ void operator=(const Texture &) = delete;
virtual ~Texture();
+ void Bind() const;
+
protected:
private:
- Texture(const Texture & texture) { }
- void
- operator=(const Texture & texture)
- {
- }
-
GLuint m_texture;
};