--- a/Texture.cpp Wed Dec 27 10:34:12 2023 +0100 +++ b/Texture.cpp Wed Dec 27 12:11:27 2023 +0100 @@ -94,3 +94,7 @@ glGenerateMipmap(GLT2D); checkError(&std::cerr); } + +void Texture::bind() { + glBindTexture(GL_TEXTURE_2D, impl->id); +}