aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COGLESExtensionHandler.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-11-19 20:16:57 +0100
committersfan5 <sfan5@live.de>2021-11-19 20:16:57 +0100
commitd322b73e4c789171ba679279ece320beade2b3ca (patch)
tree1da3cdb4cecace577b50e40bcddd382c9e71314b /source/Irrlicht/COGLESExtensionHandler.cpp
parent6779cb7254cf6d08652a49ac1e5be23cd5131f8a (diff)
downloadirrlicht-d322b73e4c789171ba679279ece320beade2b3ca.tar.xz
Get rid of MATERIAL_MAX_TEXTURES_USED
Another configurable knob of questionable usefulness, especially since this inhibits certain optimizations by making loop length dependent on a global variable.
Diffstat (limited to 'source/Irrlicht/COGLESExtensionHandler.cpp')
-rw-r--r--source/Irrlicht/COGLESExtensionHandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/Irrlicht/COGLESExtensionHandler.cpp b/source/Irrlicht/COGLESExtensionHandler.cpp
index 4badf22..4923ada 100644
--- a/source/Irrlicht/COGLESExtensionHandler.cpp
+++ b/source/Irrlicht/COGLESExtensionHandler.cpp
@@ -82,7 +82,6 @@ namespace video
glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, DimAliasedPoint);
Feature.MaxTextureUnits = core::min_(Feature.MaxTextureUnits, static_cast<u8>(MATERIAL_MAX_TEXTURES));
- Feature.MaxTextureUnits = core::min_(Feature.MaxTextureUnits, static_cast<u8>(MATERIAL_MAX_TEXTURES_USED));
Feature.ColorAttachment = 1;
#if defined(_IRR_OGLES1_USE_EXTPOINTER_)