From b7292226b4a268e513a3b7360192caaa939cbdab Mon Sep 17 00:00:00 2001 From: Desour Date: Wed, 13 Sep 2023 11:26:14 +0200 Subject: [PATCH] Remove the unnecessary sort in CNullDriver::addTexture --- source/Irrlicht/CNullDriver.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/Irrlicht/CNullDriver.cpp b/source/Irrlicht/CNullDriver.cpp index 3e5b483..c706aa6 100644 --- a/source/Irrlicht/CNullDriver.cpp +++ b/source/Irrlicht/CNullDriver.cpp @@ -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. } }