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.cpp | |
| parent | f1fc192ddc4c739fa8b4b376c759b7d3218a34eb (diff) | |
| download | meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.tar.zst meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.zip | |
Fix minor quality issues
Diffstat (limited to 'src/GFX/Texture.cpp')
| -rw-r--r-- | src/GFX/Texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GFX/Texture.cpp b/src/GFX/Texture.cpp index ef48631..64151a5 100644 --- a/src/GFX/Texture.cpp +++ b/src/GFX/Texture.cpp @@ -23,11 +23,11 @@ Texture::Texture(const Image::RawImage& image) { glBindTexture(GL_TEXTURE_2D, 0); } -void Texture::bind() { +void Texture::bind() const { glBindTexture(GL_TEXTURE_2D, m_texture); } -void Texture::unbind() { +void Texture::unbind() const { glBindTexture(GL_TEXTURE_2D, 0); } } \ No newline at end of file |
