diff options
Diffstat (limited to 'ui/icon.cpp')
-rw-r--r-- | ui/icon.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/icon.cpp b/ui/icon.cpp index 847b117..0bdc91a 100644 --- a/ui/icon.cpp +++ b/ui/icon.cpp @@ -22,13 +22,6 @@ Icon::Icon(const Image & tex) : size {tex.width, tex.height} GL_RGBA, GL_UNSIGNED_BYTE, tex.data.data()); } -void -Icon::Bind() const -{ - glActiveTexture(GL_TEXTURE0); - glBindTexture(GL_TEXTURE_2D, m_texture); -} - ImTextureID Icon::operator*() const { |