diff --git a/src/Magnum/AbstractTexture.cpp b/src/Magnum/AbstractTexture.cpp index 31bf05f99..6b9cdeeaa 100644 --- a/src/Magnum/AbstractTexture.cpp +++ b/src/Magnum/AbstractTexture.cpp @@ -137,6 +137,8 @@ void AbstractTexture::bindImplementationDefault(GLint textureUnit) { #ifndef MAGNUM_TARGET_GLES void AbstractTexture::bindImplementationMulti(GLint textureUnit) { + /* Bind the texture to the unit, update state tracker */ + Context::current()->state().texture->bindings[textureUnit] = _id; glBindTextures(textureUnit, 1, &_id); }