1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibGL: Remove TextureUnit::unbind_texture()

This commit is contained in:
Jelle Raaijmakers 2021-11-30 02:03:45 +01:00 committed by Andreas Kling
parent a4603fbc06
commit bed0f3466a
3 changed files with 9 additions and 17 deletions

View file

@ -16,7 +16,6 @@ public:
TextureUnit() = default;
void bind_texture_to_target(GLenum texture_target, const RefPtr<Texture>& texture);
void unbind_texture(GLenum texture_target);
RefPtr<Texture2D>& bound_texture_2d() const { return m_texture_target_2d; }
RefPtr<Texture>& bound_texture() const { return m_currently_bound_texture; }