diff options
Diffstat (limited to 'ui/icon.cpp')
-rw-r--r-- | ui/icon.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/icon.cpp b/ui/icon.cpp index 657e953..1caba68 100644 --- a/ui/icon.cpp +++ b/ui/icon.cpp @@ -25,5 +25,6 @@ Icon::Icon(const Image & tex) : size {tex.width, tex.height} void
Icon::Bind() const
{
+ glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, m_texture);
}
|