forked from Mirrorlandia_minetest/irrlicht
Remove the unnecessary sort in CNullDriver::addTexture
This commit is contained in:
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 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
|
||||
// the textures now already although this isn't necessary:
|
||||
|
||||
Textures.sort();
|
||||
// will be changed.
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user