diff options
| author | Mel <einebeere@gmail.com> | 2023-07-07 23:05:14 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-07 23:14:59 +0200 |
| commit | 129f2e421e16bd008cdca8713cc91f67d103d94e (patch) | |
| tree | a4d3e1005c57591b44fd57be4c1b00441512e36d /src/GFX/Texture.hpp | |
| parent | f1fc192ddc4c739fa8b4b376c759b7d3218a34eb (diff) | |
| download | meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.tar.zst meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.zip | |
Fix minor quality issues
Diffstat (limited to 'src/GFX/Texture.hpp')
| -rw-r--r-- | src/GFX/Texture.hpp | 6 |
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 |
