From 129f2e421e16bd008cdca8713cc91f67d103d94e Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 7 Jul 2023 23:05:14 +0200 Subject: Fix minor quality issues --- src/GFX/Texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GFX/Texture.cpp') 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 -- cgit 1.4.1