summary refs log tree commit diff
path: root/src/GFX/Texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GFX/Texture.hpp')
-rw-r--r--src/GFX/Texture.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GFX/Texture.hpp b/src/GFX/Texture.hpp
index ff86634..2981b2c 100644
--- a/src/GFX/Texture.hpp
+++ b/src/GFX/Texture.hpp
@@ -8,10 +8,10 @@ class Texture {
 public:
     explicit Texture(const Image::RawImage& image);
 
-    void bind();
-    void unbind();
+    void bind() const;
+    void unbind() const;
 private:
-    uint32_t m_texture;
+    uint32_t m_texture = 0;
 };
 
 }
\ No newline at end of file