Remove the unnecessary sort in CNullDriver::addTexture

This commit is contained in:
Desour 2023-09-13 11:26:14 +02:00 committed by sfan5
parent 7298b46504
commit b7292226b4

@ -578,10 +578,7 @@ void CNullDriver::addTexture(video::ITexture* texture)
// the new texture is now at the end of the texture list. when searching for // the new texture is now at the end of the texture list. when searching for
// the next new texture, the texture array will be sorted and the index of this texture // the next new texture, the texture array will be sorted and the index of this texture
// will be changed. to let the order be more consistent to the user, sort // will be changed.
// the textures now already although this isn't necessary:
Textures.sort();
} }
} }