mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
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.
This commit is contained in:
@ -47,7 +47,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user